freebsd-ports/devel/py-capstone/Makefile
Antoine Brodin 9af12d2d12 Update capstone3 and py-capstone to 3.0.5
PR:		230347
Approved by:	maintainer timeout (30 days)
2018-09-03 12:20:08 +00:00

26 lines
685 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= capstone
PORTVERSION= 3.0.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python # Conflicts with devel/capstone distfile
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python bindings for the Capstone Disassembly Engine
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libcapstone.so:devel/capstone3
USES= python
USE_PYTHON= autoplist distutils
MAKE_ENV+= LIBCAPSTONE_PATH= # Prevent bundled libcapstone from being built
post-patch:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/capstone/__init__.py
.include <bsd.port.mk>