summaryrefslogtreecommitdiffstats
path: root/emulators/unicorn/Makefile
blob: ea59c10ee56c86bfc5a202f5c2d2f769f513b909 (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
27
28
29
# $FreeBSD$

PORTNAME=	unicorn
PORTVERSION=	0.9
CATEGORIES=	emulators

MAINTAINER=	antoine@FreeBSD.org
COMMENT=	Unicorn CPU emulator framework

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

TEST_DEPENDS=	cmocka>0:sysutils/cmocka

USE_GITHUB=	yes
GH_ACCOUNT=	unicorn-engine

USES=		gmake pkgconfig python:2.7,build
USE_GNOME=	glib20
USE_LDCONFIG=	yes
MAKE_ENV=	INSTALL_LIB="${INSTALL_LIB}" \
		UNICORN_QEMU_FLAGS=--python=${PYTHON_CMD} \
		V=1
TEST_TARGET=	test
TEST_WRKSRC=	${WRKSRC}/tests/unit

BROKEN_aarch64=		fails to compile: error: use of undeclared identifier tcg_op_defs

.include <bsd.port.mk>
OpenPOWER on IntegriCloud