aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-02-24 21:50:07 +0800
committertg <tg@FreeBSD.org>1997-02-24 21:50:07 +0800
commitc81dcaf6a591a82ea4e11f31aa8894ccd5921c28 (patch)
treeecc573c3a8e21e063b6c82707ea847a01045d45a /emulators
parent31cad348ffe0d5be7c8a0235b9c9f104b8a4cfd2 (diff)
downloadfreebsd-ports-gnome-c81dcaf6a591a82ea4e11f31aa8894ccd5921c28.tar.gz
freebsd-ports-gnome-c81dcaf6a591a82ea4e11f31aa8894ccd5921c28.tar.zst
freebsd-ports-gnome-c81dcaf6a591a82ea4e11f31aa8894ccd5921c28.zip
Import of xgs, an Apple IIgs emulator.
Closes PR #2515. Submitted by: Joel Sutton <suttonj@interconnect.com.au>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xgs/Makefile40
-rw-r--r--emulators/xgs/distinfo2
-rw-r--r--emulators/xgs/pkg-comment2
-rw-r--r--emulators/xgs/pkg-descr31
-rw-r--r--emulators/xgs/pkg-plist21
5 files changed, 96 insertions, 0 deletions
diff --git a/emulators/xgs/Makefile b/emulators/xgs/Makefile
new file mode 100644
index 000000000000..d9e461f52cec
--- /dev/null
+++ b/emulators/xgs/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: xgs-0.40
+# Version required: 0.40
+# Date created: 17th January 1996
+# Whom: Joel Sutton <suttonj@interconnect.com.au>
+#
+# $Id$
+#
+
+DISTNAME= xgs-0.40
+CATEGORIES= emulators
+MASTER_SITES= http://www.optera.com/~invid/emulators/XGS/ \
+ ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ROMFILE}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= suttonj@interconnect.com.au
+
+NO_PACKAGE= ${RESTRICTED}
+RESTRICTED= xgs.rom copyright is owned by Apple and cannot be distributed
+WRKSRC= ${WRKDIR}/xgs
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-oss-sound --prefix=${PREFIX}
+
+#INSTALL_DATA?= install -c -o bin -g bin
+ROMFILE= xgs.rom
+XGS= /share/xgs
+
+post-patch:
+ cp ${DISTDIR}/${ROMFILE} ${WRKSRC}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} -m 644 ${WRKSRC}/CHANGES ${WRKSRC}/COMPATIBILITY \
+ ${WRKSRC}/README ${WRKSRC}/TO-DO ${PREFIX}${XGS}/
+ ${INSTALL_DATA} -m 644 ${PKGDIR}/DESCR ${PREFIX}${XGS}/README.FreeBSD
+.endif
+ ${INSTALL_DATA} -m 666 /dev/null ${PREFIX}${XGS}/xgs.ram
+
+.include <bsd.port.mk>
diff --git a/emulators/xgs/distinfo b/emulators/xgs/distinfo
new file mode 100644
index 000000000000..78e8a0b8ab84
--- /dev/null
+++ b/emulators/xgs/distinfo
@@ -0,0 +1,2 @@
+MD5 (xgs-0.40.tar.gz) = fdd04ddfe2f188c301be7fd11be61ae8
+MD5 (xgs.rom) = 20a0334c447cb069a040ae5be1d938df
diff --git a/emulators/xgs/pkg-comment b/emulators/xgs/pkg-comment
new file mode 100644
index 000000000000..daa52ec76029
--- /dev/null
+++ b/emulators/xgs/pkg-comment
@@ -0,0 +1,2 @@
+An Apple IIGS emulator.
+
diff --git a/emulators/xgs/pkg-descr b/emulators/xgs/pkg-descr
new file mode 100644
index 000000000000..53fd15c98e08
--- /dev/null
+++ b/emulators/xgs/pkg-descr
@@ -0,0 +1,31 @@
+This emulator does a good job of emulating an Apple IIGS. Various IIGS
+hardware devices are also emulated (see README file) but this version
+is still an alpha so you might find a few things missing.
+
+XGS requires a copy of the IIGS ROM to boot up and this port should
+attempt to FTP a copy of it from the Asimov archives (if it is still
+available). If you have to obtain a copy of it manually then all you
+should need to do is drop it in the distfiles directory to allow the
+port to build. The md5 checksum file is specifically for the version 1
+ROM so you may have to alter it should you decide to use a version 3
+ROM. Also, this ROM cannot be distributed due to copyright reasons.
+
+Please check out the README file in either the working directory or
+/usr/local/share/xgs/ (or equivalent on your system). As this package
+has no man pages you will need to pick up the basics from there. All
+author credits can be found in these files also.
+
+When loading disk images be sure to use the full path of the
+file you're loading.
+
+Check out the following for all sorts of Apple II goodies:
+
+ http://www.asimov.net/
+ http://www.optera.com/~invid/emulators/XGS/
+ comp.emulators.apple2
+
+Share and enjoy,
+
+Joel...
+:->
+suttonj@interconnect.com.au \ No newline at end of file
diff --git a/emulators/xgs/pkg-plist b/emulators/xgs/pkg-plist
new file mode 100644
index 000000000000..ddec4d669f81
--- /dev/null
+++ b/emulators/xgs/pkg-plist
@@ -0,0 +1,21 @@
+bin/xgs
+bin/build40
+bin/build80
+bin/dc2img
+bin/dsk2img
+bin/imginfo
+bin/lockimg
+bin/newimg
+bin/raw2img
+bin/show40
+bin/show80
+bin/unlockimg
+share/xgs/xgs40.fnt
+share/xgs/xgs80.fnt
+share/xgs/xgs.rom
+share/xgs/xgs.ram
+share/xgs/CHANGES
+share/xgs/COMPATIBILITY
+share/xgs/README
+share/xgs/TO-DO
+share/xgs/README.FreeBSD