freebsd-ports/devel/capstone4/Makefile
Mateusz Piotrowski 98af2f2376 devel/capstone: Update to 4.0.1
Changelog:
https://github.com/aquynh/capstone/releases/tag/4.0.1

- Remove GH_TAGNAME: PORTVERSION is enough
- Get the patch for a staging bug from GitHub
- Disable broken fuzzing tests

PR:		244220
Approved by:	oleksii.tsai@gmail.com (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D23749
2020-03-02 14:14:21 +00:00

35 lines
765 B
Makefile

# $FreeBSD$
PORTNAME= capstone
PORTVERSION= 4.0.1
CATEGORIES= devel
PKGNAMESUFFIX= 4
PATCH_SITES= https://github.com/aquynh/capstone/pull/1589/commits/
PATCHFILES= 046846b2ea189142482754c13ee0ed54cb4f4e5b.patch:-p1
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>