summaryrefslogtreecommitdiff
path: root/emulators/py-unicorn/Makefile
blob: db14cdbc8d395882e08dc7a88c6e6a7bf8cea069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

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>