1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/radare2/Makefile
Steve Wills e8077cff81 - Update to 0.9.6
- Fix build with clang
- Support STAGEDIR

PR:		ports/183924
Submitted by:	"Mikhail T." <m.tsatsenko@gmail.com>
Approved by:	maintainer timeout (kpedersen@opencde.org, >4 weeks)
2013-12-19 03:36:42 +00:00

33 lines
823 B
Makefile

# Created by: Karsten Pedersen <kpedersen@opencde.org>
# $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 <bsd.port.mk>