aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/py-unicorn/Makefile
blob: 29c1e79c89654ed21dbaac65067f9ae9fbd1f558 (plain) (blame)
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
27
28
29
30
31
PORTNAME=	unicorn
PORTVERSION=	2.0.1p1
PORTREVISION=	1
CATEGORIES=	emulators python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	antoine@FreeBSD.org
COMMENT=	Python bindings for Unicorn CPU emulator framework
WWW=		https://www.unicorn-engine.org/

LICENSE=	BSD3CLAUSE

BUILD_DEPENDS=	${LOCALBASE}/lib/libunicorn.so:emulators/unicorn
RUN_DEPENDS=	${LOCALBASE}/lib/libunicorn.so:emulators/unicorn

USE_GITHUB=	yes
GH_ACCOUNT=	unicorn-engine
GH_TAGNAME=	2.0.1.post1

USES=		python
USE_PYTHON=	distutils autoplist

NO_ARCH=	yes
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>