SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
34
devel/capstone/python/Makefile
Normal file
34
devel/capstone/python/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
COMMENT = Python bindings for capstone
|
||||
|
||||
MODPY_EGG_VERSION = ${GH_TAGNAME}
|
||||
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 4
|
||||
|
||||
MODULES = lang/python
|
||||
USE_GMAKE = Yes
|
||||
|
||||
WRKDIST = ${WRKDIR}/${DISTNAME}/bindings/python
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
RUN_DEPENDS = devel/capstone/main
|
||||
|
||||
TEST_DEPENDS = devel/capstone/python
|
||||
TEST_TARGET = check
|
||||
|
||||
MODPY_ADJ_FILES = test*.py
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
MAKE_ENV = LIBCAPSTONE_PATH=${LOCALBASE}/lib/
|
||||
|
||||
SUBST_VARS += _SHLIB_VERSION
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/capstone/__init__.py
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${MAKE_PROGRAM} ${TEST_TARGET}
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue