Files
ports/emulators/py-unicorn/Makefile
T
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

28 lines
547 B
Makefile

# $FreeBSD$
PORTNAME= unicorn
DISTVERSION= 1.0.2
CATEGORIES= emulators python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python bindings for Unicorn CPU emulator framework
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libunicorn.so:emulators/unicorn
USE_GITHUB= yes
GH_ACCOUNT= unicorn-engine
USES= python:3.6+
USE_PYTHON= distutils autoplist
WRKSRC_SUBDIR= bindings/python
do-test:
@(cd ${WRKSRC}; for sample in sample_*.py; do \
${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${sample}; \
done)
.include <bsd.port.mk>