freebsd-ports/x11/radare-cutter/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

42 lines
980 B
Makefile

PORTNAME= radare-cutter
PORTVERSION= 0.1.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11
MAINTAINER= swills@FreeBSD.org
COMMENT= GUI for radare2 reverse engineering framework
WWW= https://github.com/radareorg/cutter
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../COPYING
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 widgets buildtools:build
USE_GL= gl
WRKSRC_SUBDIR= src
CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
USE_QT+= webengine
.endif
post-patch:
@${REINPLACE_CMD} 's/python3/python-${PYTHON_VER}/' ${WRKSRC}/Cutter.pro
.include <bsd.port.mk>