mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
27 lines
703 B
Makefile
27 lines
703 B
Makefile
PORTNAME= capstone
|
|
DISTVERSION= 5.0.3
|
|
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 <bsd.port.mk>
|