9af12d2d12
PR: 230347 Approved by: maintainer timeout (30 days)
26 lines
685 B
Makefile
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>
|