aboutsummaryrefslogtreecommitdiff
path: root/emulators/x16-rom
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2020-03-27 14:10:30 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2020-03-27 14:10:30 +0000
commitb126f195ea867714c52d3f11d2d79a8ac225c243 (patch)
tree8d7884f6fa9a2873468da4d40c239583f763c35a /emulators/x16-rom
parent8f1ef1d3af2c730a621034a65ff902a41cef1e47 (diff)
downloadports-b126f195ea867714c52d3f11d2d79a8ac225c243.tar.gz
ports-b126f195ea867714c52d3f11d2d79a8ac225c243.zip
Add new ports, emulators/x16-emulator and emulators/x16-rom:
Emulator and rom for Commander X16 - modern 8-bit computer inspired by Commodore 64. WWW: https://github.com/commanderx16
Notes
Notes: svn path=/head/; revision=529251
Diffstat (limited to 'emulators/x16-rom')
-rw-r--r--emulators/x16-rom/Makefile27
-rw-r--r--emulators/x16-rom/distinfo3
-rw-r--r--emulators/x16-rom/pkg-descr3
3 files changed, 33 insertions, 0 deletions
diff --git a/emulators/x16-rom/Makefile b/emulators/x16-rom/Makefile
new file mode 100644
index 000000000000..19f6093ff383
--- /dev/null
+++ b/emulators/x16-rom/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= x16-rom
+DISTVERSION= r37
+CATEGORIES= emulators
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= Commander X16 ROM
+
+BUILD_DEPENDS= cc65:devel/cc65
+
+USES= gmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= commanderx16
+
+DATADIR= ${PREFIX}/share/x16-emulator
+PORTDATA= rom.bin
+
+post-patch:
+ ${REINPLACE_CMD} '1s,bash,sh,' ${WRKSRC}/scripts/symbolize.sh
+
+do-install:
+ ${MKDIR} ${STAGEDIR}/${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/build/x16/rom.bin ${STAGEDIR}/${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/emulators/x16-rom/distinfo b/emulators/x16-rom/distinfo
new file mode 100644
index 000000000000..5cfc13a97de1
--- /dev/null
+++ b/emulators/x16-rom/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585316000
+SHA256 (commanderx16-x16-rom-r37_GH0.tar.gz) = 6d33326ac95c12f09efa328bbee4e8a4c285a42599199d8d5a93d28b5801deef
+SIZE (commanderx16-x16-rom-r37_GH0.tar.gz) = 468369
diff --git a/emulators/x16-rom/pkg-descr b/emulators/x16-rom/pkg-descr
new file mode 100644
index 000000000000..71d78c52c0c1
--- /dev/null
+++ b/emulators/x16-rom/pkg-descr
@@ -0,0 +1,3 @@
+ROM containing BASIC, KERNAL, DOS and GEOS for the Commander X16 emulator.
+
+WWW: https://github.com/commanderx16