summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile9
-rw-r--r--emulators/xmame/files/md54
-rw-r--r--emulators/xmame/patches/patch-ae18
3 files changed, 18 insertions, 13 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index d314c401599..c5b66be5055 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 1998/09/05 12:37:58 mycroft Exp $
+# $NetBSD: Makefile,v 1.18 1998/09/07 22:54:50 mycroft Exp $
#
-DISTNAME= xmame-0.34b2.1
+DISTNAME= xmame-0.34b2.2
CATEGORIES= emulators games x11
MASTER_SITES= ftp://drake.dit.upm.es/xmame/ftpsite/
EXTRACT_SUFX= .tgz
@@ -25,7 +25,8 @@ MAKEFILE= makefile.unix
DISPLAY_METHOD= x11
ALL_TARGET= xmame.${DISPLAY_METHOD}
-MAMEDIR= ${PREFIX}/share/xmame
+ROMPATH= ${PREFIX}/share/xmame
+SPOOLDIR= /var/games/xmame
.if exists(/usr/include/machine/joystick.h)
NETBSD_JOYSTICK= yes
.else
@@ -33,7 +34,7 @@ NETBSD_JOYSTICK= no
.endif
post-patch:
- (cd ${WRKSRC}/doc && ${SED} 's|@MAMEDIR@|${MAMEDIR}|' xmamerc.dist >xmamerc)
+ (cd ${WRKSRC}/doc && ${SED} 's|@ROMPATH@|${ROMPATH}|;s|@SPOOLDIR@|${SPOOLDIR}|' xmamerc.dist >xmamerc)
(cd ${WRKSRC}/src/unix && ${MV} netbsd_i386.c netbsd.c)
do-install:
diff --git a/emulators/xmame/files/md5 b/emulators/xmame/files/md5
index d48cd1fe2ac..d21c4af4f66 100644
--- a/emulators/xmame/files/md5
+++ b/emulators/xmame/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.6 1998/09/05 12:27:40 mycroft Exp $
+$NetBSD: md5,v 1.7 1998/09/07 22:54:50 mycroft Exp $
-MD5 (xmame-0.34b2.1.tgz) = da431a598c1b908114c5a4d25ecb9f9a
+MD5 (xmame-0.34b2.2.tgz) = e6e04ac8e960b903cbd2efd5409af54f
diff --git a/emulators/xmame/patches/patch-ae b/emulators/xmame/patches/patch-ae
index 34a09b18066..1459db74490 100644
--- a/emulators/xmame/patches/patch-ae
+++ b/emulators/xmame/patches/patch-ae
@@ -1,13 +1,17 @@
-$NetBSD: patch-ae,v 1.4 1998/09/05 12:27:40 mycroft Exp $
+$NetBSD: patch-ae,v 1.5 1998/09/07 22:54:50 mycroft Exp $
---- doc/xmamerc.dist.orig Thu Sep 3 10:54:29 1998
-+++ doc/xmamerc.dist Sat Sep 5 08:16:16 1998
-@@ -23,7 +23,7 @@
+--- doc/xmamerc.dist.orig Sat Sep 5 18:08:38 1998
++++ doc/xmamerc.dist Mon Sep 7 18:44:30 1998
+@@ -23,10 +23,10 @@
# Where does your Mame rom files reside?
# This option can be overriden by MAMEDIR environment variable
--rompath /usr/games/lib/mame
-+rompath @MAMEDIR@
+-rompath /usr/games/lib/xmame:/usr/local/lib/xmame
++rompath @ROMPATH@
# Also Mame needs a public-writable directory to store high scores
- spooldir /var/games/mame
+-spooldir /usr/games/lib/xmame
++spooldir @SPOOLDIR@
+
+ # What is your loved game? ( remember that mame defaults to "pacman" )
+ defaultgame galturbo