1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/devel/radare2/Makefile
Adam Weinberger fff296bfe7 Convert a bunch of USE_XZ to USES=tar:xz.
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 21:07:39 +00:00

36 lines
877 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 tar:xz
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--without-ewf --without-gmp
MAKE_ENV+= HOST_CC=${CC}
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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 empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's| install-doc install-man||g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>