summaryrefslogtreecommitdiff
path: root/x11/radare-cutter/Makefile
blob: 69138676cc91732c17fcc87f9076ef2baa4fbb2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	radare-cutter
PORTVERSION=	0.1.1
PORTEPOCH=	1
CATEGORIES=	x11

MAINTAINER=	swills@FreeBSD.org
COMMENT=	GUI for radare2 reverse engineering framework

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/../COPYING

DEPRECATED=	Uses EOL Python 2.7 via www/qt5-webengine
EXPIRATION_DATE=2021-06-23

LIB_DEPENDS=	libcapstone.so:devel/capstone4 \
		libr_bin.so:devel/radare2

USES=		cmake gl pkgconfig python:3.4+ qmake:outsource qt:5
LDFLAGS+=	-lexecinfo

USE_GITHUB=	yes
GH_ACCOUNT=	radareorg
GH_PROJECT=	r2cutter
GH_TUPLE=	radareorg:cutter-translations:8e1d24b:translations/translations

USE_QT=		core declarative gui linguist location network printsupport svg \
		webchannel webengine widgets buildtools_build
USE_GL=		gl

WRKSRC_SUBDIR=	src

CMAKE_INSTALL_PREFIX=	${STAGEDIR}${PREFIX}

post-patch:
	@${REINPLACE_CMD} 's/python3/python-${PYTHON_VER}/' ${WRKSRC}/Cutter.pro

.include <bsd.port.mk>