summaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-02-10 03:05:05 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-02-10 03:05:05 +0000
commit3a20ebc07ce2d91dfbe62becb95b10a98891dd49 (patch)
treeb0ea52e9e0132bff0e69d0471bcf2b7300015a64 /emulators/xmame
parentRemove xmame (diff)
New port of xmame version 0.30.1; also moved into its proper location
at the request of the author (who's right, this is an emulator first and a game second ;). PR: 5687 Submitted by: Donald Burr <dburr@POBoxes.com>
Notes
Notes: svn path=/head/; revision=9648
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile37
-rw-r--r--emulators/xmame/distinfo1
-rw-r--r--emulators/xmame/files/patch-ab29
-rw-r--r--emulators/xmame/pkg-comment1
-rw-r--r--emulators/xmame/pkg-descr23
-rw-r--r--emulators/xmame/pkg-plist14
6 files changed, 105 insertions, 0 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
new file mode 100644
index 000000000000..92923818fda9
--- /dev/null
+++ b/emulators/xmame/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: xmame
+# Version required: 0.30.1
+# Date created: 8 Feb 1998
+# Whom: Donald Burr <dburr@POBoxes.com>
+#
+# $Id$
+#
+
+DISTNAME= xmame-0.30.1_src
+PKGNAME= xmame-0.30.1
+CATEGORIES= emulators
+MASTER_SITES= ftp://drake.dit.upm.es/pub/emulators/mame/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dburr@POBoxes.com
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+USE_GMAKE= YES
+MAKEFILE= makefile.unix
+
+MAN6= xmame.6
+
+post-install:
+.ifdef NOPORTDOCS
+ @echo "==> Extra documentation WILL NOT be installed."
+.else
+ @echo "==> Installing extra documentation..."
+ ${MKDIR} ${PREFIX}/lib/mame
+ for DOC in CHEAT.DOC Changes MailList.notes README.unix mamelist.txt readme.txt whatsnew.txt; do ${INSTALL} -c -o bin -g bin -m 444 ${WRKSRC}/doc/$${DOC} ${PREFIX}/lib/mame/$${DOC}; done
+.endif
+ (cd ${PREFIX}/lib/mame; sh ${FILESDIR}/dos2unx CHEAT.DOC Changes MailList.notes README.unix cheat.dat mamelist.txt readme.txt whatsnew.txt)
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
new file mode 100644
index 000000000000..749d861b1cc4
--- /dev/null
+++ b/emulators/xmame/distinfo
@@ -0,0 +1 @@
+MD5 (xmame-0.30.1_src.tgz) = 3cfea645f0edceffb3fa4ef7cffa39c1
diff --git a/emulators/xmame/files/patch-ab b/emulators/xmame/files/patch-ab
new file mode 100644
index 000000000000..24d9ecafd6ad
--- /dev/null
+++ b/emulators/xmame/files/patch-ab
@@ -0,0 +1,29 @@
+diff -ruN ../../OLD/xmame-0.30.1/./conv2zip ./conv2zip
+--- ../../OLD/xmame-0.30.1/./conv2zip Wed Dec 31 16:00:00 1969
++++ ./conv2zip Fri Jan 30 19:54:06 1998
+@@ -0,0 +1,25 @@
++#!/bin/sh
++
++if [ ! -x /usr/local/bin/zip ]
++then
++ echo "ZIP program not installed. Check /usr/ports/archivers."
++ exit 1
++fi
++
++cd /usr/local/lib/mame
++find . -type d -print | sed 's/^\.\///g' | grep -v ^\\. | grep -v cfg | \
++grep -v hi | grep -v roms | grep -v samples > /tmp/dirs.$$
++
++for D in `cat /tmp/dirs.$$`
++do
++ cd ${D}
++ echo "Converting: ${D}"
++ zip -9 ../roms/${D}.zip *
++ echo ""
++ cd ..
++ rm -rf ${D}
++done
++
++echo "All ROM directories have been converted to zipfiles."
++
++rm -f /tmp/dirs.$$
diff --git a/emulators/xmame/pkg-comment b/emulators/xmame/pkg-comment
new file mode 100644
index 000000000000..e343a2e14237
--- /dev/null
+++ b/emulators/xmame/pkg-comment
@@ -0,0 +1 @@
+Emulator that emulates many classic arcade game machines
diff --git a/emulators/xmame/pkg-descr b/emulators/xmame/pkg-descr
new file mode 100644
index 000000000000..833513136ea3
--- /dev/null
+++ b/emulators/xmame/pkg-descr
@@ -0,0 +1,23 @@
+X-Mame 0.30.1 is an emulator. It emulates many classic coin-operated arcade
+game machines, right on your FreeBSD PC.
+
+This emulator supports over 200 arcade games, and the nunmber grows every
+day! A partial list of the (more popular and well-known) games currently
+supported by this emulator include:
+
+PacMan, Ms. PacMan, Jr. PacMan, Super PacMan, Dig Dug, Star Trek, Galaga,
+Space Invaders, Tempest, Frogger, Mr. Do!, Battle Zone, Missile Command,
+Asteroids, Burger Time, Centipede, Millipede, Gorf, Donkey Kong, Donkey
+Kong III, Donkey Kong Jr., Mario Bros., Defender, Stargate, Galaxians,
+Gyruss, Kangaroo, Moon Patrol, Phoenix, Q*Bert, Rally X, Robotron,
+Star Wars, Zaxxon, ... you get the idea.
+
+To run these games, however, you will need images of the ROM chips that
+are used on these games. If you actually have one of these games (or the
+motherboard to one of them), and access to a ROM burner, it is a fairly
+trivial process to make ROM image files for use with MAME. If you DON'T
+have access to a ROM burner, or you don't own one of these video games
+(and you are aware of the possible legal ramifications of doing this),
+you can obtain ROM images for MAME on the Net.
+
+[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]
diff --git a/emulators/xmame/pkg-plist b/emulators/xmame/pkg-plist
new file mode 100644
index 000000000000..e06a6ca3ca25
--- /dev/null
+++ b/emulators/xmame/pkg-plist
@@ -0,0 +1,14 @@
+bin/xmame
+lib/mame/CHEAT.DOC
+lib/mame/Changes
+lib/mame/MailList.notes
+lib/mame/README.port
+lib/mame/README.unix
+lib/mame/cheat.dat
+lib/mame/conv2zip
+lib/mame/mamelist.txt
+lib/mame/mov
+lib/mame/readme.txt
+lib/mame/whatsnew.txt
+man/man6/xmame.6.gz
+@dirrm lib/mame