PORTNAME= radare2 DISTVERSION= 5.8.8 PORTEVISION= 1 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Tools to disasm, debug, analyze, and manipulate binary files WWW= https://www.radare.org LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= armv6 armv7 mips mips64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= does not build: Unsupported BSD architecture LIB_DEPENDS= libcapstone.so:devel/capstone USES= cpe gmake localbase pathfix pkgconfig CPE_VENDOR= radare PATHFIX_MAKEFILEIN= Makefile USE_GITHUB= yes GH_ACCOUNT= radareorg GH_PROJECT= vector35-arch-arm64:arm64 vector35-arch-armv7:armv7 GH_TAGNAME= 55d73c6:arm64 f270a6c:armv7 GH_SUBDIR= libr/arch/p/arm/v35/arch-arm64:arm64 \ libr/arch/p/arm/v35/arch-armv7:armv7 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-syscapstone MAKE_ENV+= HOST_CC=${CC} CFLAGS+= -I${PREFIX}/include/capstone PLIST_SUB+= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile # libr/flag/d/Makefile generates an r2 script from all files in # current directory, including .bak file left by ${REINPLACE_CMD} # called by pathfix. post-patch: ${CP} ${WRKSRC}/libr/debug/p/native/linux/reg/linux-ppc.h \ ${WRKSRC}/libr/debug/p/native/reg/kfbsd-ppc.h ${CP} ${WRKSRC}/libr/debug/p/native/linux/reg/linux-ppc64.h \ ${WRKSRC}/libr/debug/p/native/reg/kfbsd-ppc64.h ${CP} ${WRKSRC}/libr/debug/p/native/linux/reg/linux-riscv64.h \ ${WRKSRC}/libr/debug/p/native/reg/kfbsd-riscv64.h ${RM} ${WRKSRC}/libr/flag/d/Makefile.bak .include