# Created by: Karsten Pedersen # $FreeBSD$ PORTNAME= radare2 PORTVERSION= 0.9.6 CATEGORIES= devel MASTER_SITES= http://rada.re/get/ MAINTAINER= kpedersen@opencde.org COMMENT= Tools to disasm, debug, analyze, and manipulate binary files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake USE_LDCONFIG= yes USE_XZ= yes CONFIGURE_ARGS+=--without-ewf --without-gmp MAKE_ENV+= HOST_CC=${CC} PLIST_SUB+= PORTVERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} -e 's|..LIBDIR./pkgconfig|libdata/pkgconfig|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|..LFX./pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/libr/Makefile .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's| install-doc install-man||g' ${WRKSRC}/Makefile .endif .include