forked from Lainports/opnsense-ports
38 lines
835 B
Makefile
38 lines
835 B
Makefile
# Created by: Karsten Pedersen <kpedersen@opencde.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= radare2
|
|
DISTVERSION= 2.8.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= mizhka@gmail.com
|
|
COMMENT= Tools to disasm, debug, analyze, and manipulate binary files
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NOT_FOR_ARCHS= armv6 armv7 mips mips64 powerpc powerpc64 sparc64
|
|
NOT_FOR_ARCHS_REASON= does not build: Unsupported BSD architecture
|
|
|
|
LIB_DEPENDS= libcapstone.so:devel/capstone4
|
|
|
|
CONFIGURE_ARGS= --with-syscapstone
|
|
|
|
USES= gmake localbase pathfix pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= radare
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ENV+= HOST_CC=${CC}
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch-DOCS-off:
|
|
@${REINPLACE_CMD} -e 's| install-doc ||g' \
|
|
${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|