freebsd-ports/devel/capstone4/Makefile
Li-Wen Hsu 5fc8541556
devel/capstone4: Update to 4.0.2
PR:		250431
Approved by:	maintainer timeout
2021-06-02 18:43:56 +08:00

30 lines
621 B
Makefile

PORTNAME= capstone
PORTVERSION= 4.0.2
CATEGORIES= devel
PKGNAMESUFFIX= 4
MAINTAINER= oleksii.tsai@gmail.com
COMMENT= Multi-platform, multi-architecture disassembly framework
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= aquynh
USE_LDCONFIG= yes
MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}"
TEST_ENV= ${MAKE_ENV} \
LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib
TEST_TARGET= check
CONFLICTS_BUILD= capstone3
pre-test:
# Disable broken tests.
@${REINPLACE_CMD} -E 's|^(check:.*)fuzzallcorp|\1|' ${WRKSRC}/Makefile
.include <bsd.port.mk>