aboutsummaryrefslogtreecommitdiff
path: root/emulators/unicorn/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-12-16 06:43:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-12-16 06:43:52 +0000
commit75c2527913dc3efcfbd29ed2323564f1059be754 (patch)
tree17ca3d88fc78035b599f44c923589b653ca08c0f /emulators/unicorn/Makefile
parent4427c5e61a66639164b9c377f664c2a4d3352885 (diff)
downloadports-75c2527913dc3efcfbd29ed2323564f1059be754.tar.gz
ports-75c2527913dc3efcfbd29ed2323564f1059be754.zip
Notes
Diffstat (limited to 'emulators/unicorn/Makefile')
-rw-r--r--emulators/unicorn/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/unicorn/Makefile b/emulators/unicorn/Makefile
new file mode 100644
index 000000000000..8ceea79bf5c8
--- /dev/null
+++ b/emulators/unicorn/Makefile
@@ -0,0 +1,28 @@
+# $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_FreeBSD_9_i386= fails to link
+
+.include <bsd.port.mk>