freebsd-ports/devel/capstone4/Makefile
Stefan Eßer d44f40291e devel/capstone4: Add CPE information
Approved by:	portmgr (blanket)
2021-10-14 23:30:13 +02:00

31 lines
656 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= cpe gmake
CPE_VENDOR= ${PORTNAME}-engine
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>