freebsd-ports/devel/radare2/Makefile
Jason E. Hale f338d894dc Update to 1.0.2
PR:		213278
Submitted by:	Michael Zhilin <mizhka@gmail.com>
Approved by:	maintainer timeout
2016-12-09 08:06:41 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Karsten Pedersen <kpedersen@opencde.org>
# $FreeBSD$
PORTNAME= radare2
PORTVERSION= 1.0.2
CATEGORIES= devel
MASTER_SITES= http://rada.re/get/
MAINTAINER= torres.73a@gmail.com
COMMENT= Tools to disasm, debug, analyze, and manipulate binary files
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= Does not build: Unsupported BSD architecture
BROKEN_mips64= Does not build: Unsupported BSD architecture
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build
BUILD_DEPENDS+= pkg-config:devel/pkgconf
LIB_DEPENDS+= libcapstone.so:devel/capstone4
CONFIGURE_ARGS+= --with-syscapstone
USES= gmake pathfix pkgconfig tar:xz
PATHFIX_MAKEFILEIN= Makefile
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_ENV+= HOST_CC=${CC}
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
post-patch:
${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/anal/Makefile
${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKSRC}/libr/asm/Makefile
post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's| install-doc ||g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>