summaryrefslogtreecommitdiff
path: root/emulators/anese
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2019-09-01 19:25:47 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2019-09-01 19:25:47 +0000
commit0a03b7d0470b0abc93ce6bf6fd6c4b218bec6072 (patch)
tree03e1461a1367b30370955d0caa0169320f33ab1a /emulators/anese
parentFix document generation. (diff)
Add emulators/anese: NES Emulator written for fun and learning
ANESE (Another NES Emulator) is a Nintendo Entertainment System Emulator written for fun and learning. Accuracy and performance are long-term goals, but the primary focus is getting popular titles up and running. There are still a lot of bugs, but many games are working quite well already. WWW: https://prilik.com/ANESE/ PR: 239940 Submitted by: Martin Filla <freebsd@sysctl.cz>
Notes
Notes: svn path=/head/; revision=510735
Diffstat (limited to 'emulators/anese')
-rw-r--r--emulators/anese/Makefile27
-rw-r--r--emulators/anese/distinfo3
-rw-r--r--emulators/anese/files/patch-thirdparty_headeronly_cfgpath.h11
-rw-r--r--emulators/anese/pkg-descr8
4 files changed, 49 insertions, 0 deletions
diff --git a/emulators/anese/Makefile b/emulators/anese/Makefile
new file mode 100644
index 000000000000..19362233c1cd
--- /dev/null
+++ b/emulators/anese/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= anese
+PORTVERSION= 0.9.1
+CATEGORIES= emulators
+
+MAINTAINER= freebsd@sysctl.cz
+COMMENT= NES Emulator written for fun and learning
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake:insource sdl
+
+USE_GITHUB= yes
+GH_ACCOUNT= daniel5151
+GH_PROJECT= ANESE
+
+USE_LDCONFIG= yes
+USE_SDL= sdl2
+
+PLIST_FILES= bin/anese
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/emulators/anese/distinfo b/emulators/anese/distinfo
new file mode 100644
index 000000000000..2a48e7b5cad7
--- /dev/null
+++ b/emulators/anese/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566123542
+SHA256 (daniel5151-ANESE-0.9.1_GH0.tar.gz) = 86c3aced7b552125b0775b20e1779c5648f28a5cb7f9837a0f97c5440ca4aa0c
+SIZE (daniel5151-ANESE-0.9.1_GH0.tar.gz) = 25076630
diff --git a/emulators/anese/files/patch-thirdparty_headeronly_cfgpath.h b/emulators/anese/files/patch-thirdparty_headeronly_cfgpath.h
new file mode 100644
index 000000000000..86cddb867fa0
--- /dev/null
+++ b/emulators/anese/files/patch-thirdparty_headeronly_cfgpath.h
@@ -0,0 +1,11 @@
+--- thirdparty/headeronly/cfgpath.h.orig 2019-08-18 10:23:32 UTC
++++ thirdparty/headeronly/cfgpath.h
+@@ -39,7 +39,7 @@
+ #define mkdir _mkdir
+ #endif
+
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
+ #include <string.h>
+ #include <stdlib.h>
+ #include <sys/stat.h>
diff --git a/emulators/anese/pkg-descr b/emulators/anese/pkg-descr
new file mode 100644
index 000000000000..c39d0c414c5e
--- /dev/null
+++ b/emulators/anese/pkg-descr
@@ -0,0 +1,8 @@
+ANESE (Another NES Emulator) is a Nintendo Entertainment System Emulator written
+for fun and learning.
+
+Accuracy and performance are long-term goals, but the primary focus is getting
+popular titles up and running. There are still a lot of bugs, but many games are
+working quite well already.
+
+WWW: https://prilik.com/ANESE/