PORTNAME= capstone DISTVERSION= 5.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= python # Conflicts with devel/capstone distfile MAINTAINER= bofh@FreeBSD.org COMMENT= Python bindings for the Capstone Disassembly Engine WWW= https://www.capstone-engine.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LIB_DEPENDS= libcapstone.so:devel/capstone USES= cpe python CPE_VENDOR= ${PORTNAME}-engine USE_PYTHON= autoplist distutils MAKE_ENV+= LIBCAPSTONE_PATH= # Prevent bundled libcapstone from being built NO_ARCH= yes post-patch: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/capstone/__init__.py .include