aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xmame
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-04-02 01:15:56 +0800
committerolgeni <olgeni@FreeBSD.org>2001-04-02 01:15:56 +0800
commit14f82a391de01dbfbce94467fe2011579c277f2e (patch)
treefbcb37e163a4cfeabb02cdbdf55d35e6aa73afd5 /emulators/xmame
parentbc5aaab5c5cb5c6e0af93d2abf510a1fc1b72d2f (diff)
downloadfreebsd-ports-gnome-14f82a391de01dbfbce94467fe2011579c277f2e.tar.gz
freebsd-ports-gnome-14f82a391de01dbfbce94467fe2011579c277f2e.tar.zst
freebsd-ports-gnome-14f82a391de01dbfbce94467fe2011579c277f2e.zip
Update xmame to 0.37b13.1
- Assign maintainership to Stijn Hoop, due to current maintainers timeouts. - Don't symlink /usr/X11R6/etc/xmamerc to avoid bento warning - Update CPS2 patch version to latest release - Rename wpcmame glue in xmame makefile to pinmame Submitted by: Stijn Hoop <stijn@win.tue.nl> PR: 26217
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile44
-rw-r--r--emulators/xmame/distinfo5
-rw-r--r--emulators/xmame/files/patch-ac6
-rw-r--r--emulators/xmame/pkg-plist12
4 files changed, 39 insertions, 28 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index cc74b3f58e62..5e3477be072a 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= xmame
-PORTVERSION?= 0.37b12.1
+PORTVERSION?= 0.37b13.1
CATEGORIES= emulators
MASTER_SITES= http://x.mame.net/download/ \
ftp://ftp.kaupp.cx/pub/xmame/ \
@@ -14,11 +14,17 @@ MASTER_SITES= http://x.mame.net/download/ \
http://www.mame.net/zips/ \
http://cheat.retrogames.com/ \
http://www.sys2064.com/files/mame/
-DISTNAME= xmame-${PORTVERSION:S/p/pre/}
+DISTNAME= xmame-${XMAMEVERSION:S/p/pre/}
DIST_SUBDIR= xmame
+XMAMEVERSION?= ${PORTVERSION}
+.if ${XMAMEVERSION} == "0.37b12.1"
EXTRACT_SUFX= .tgz
+.else
+USE_BZIP2= yes
+EXTRACT_SUFX= .tar.bz2
+.endif
-MAINTAINER?= c9710216@studentmail.newcastle.edu.au
+MAINTAINER?= stijn@win.tue.nl
USE_XPM= yes
USE_X_PREFIX= yes
@@ -27,20 +33,20 @@ MAKEFILE= makefile.unix
MAN6= x${MAMEMESS}.6
-# Are we building MAME, MESS or WPCmame? (also set by slave ports)
+# Are we building MAME, MESS or PinMAME? (also set by slave ports)
MAMEMESS?= mame
PLIST_SUB+= MAMEMESS="x${MAMEMESS}" SPOOLGAMES="${SPOOLGAMES}"
.if ${MAMEMESS} == "mame"
-PLIST_SUB+= MAMEONLY="" MESSONLY="@comment " WPCMAMEONLY="@comment "
+PLIST_SUB+= MAMEONLY="" MESSONLY="@comment " PINMAMEONLY="@comment "
.else
.if ${MAMEMESS} == "mess"
-PLIST_SUB+= MAMEONLY="@comment " MESSONLY="" WPCMAMEONLY="@comment "
+PLIST_SUB+= MAMEONLY="@comment " MESSONLY="" PINMAMEONLY="@comment "
.else
-.if ${MAMEMESS} == "wpcmame"
-PLIST_SUB+= MAMEONLY="@comment " MESSONLY="@comment " WPCMAMEONLY=""
+.if ${MAMEMESS} == "pinmame"
+PLIST_SUB+= MAMEONLY="@comment " MESSONLY="@comment " PINMAMEONLY=""
.else
-.error MAMEMESS must be set to one of "mame", "mess" or "wpcmame".
+.error MAMEMESS must be set to one of "mame", "mess" or "pinmame".
.endif
.endif
.endif
@@ -50,7 +56,6 @@ SPOOLGAMES?= /var/games
# Docs list
GENERALDOCS= changes.unix \
- credits.txt \
liesmich.unix \
multiplayer-readme.txt \
xmame-doc-1.html \
@@ -66,30 +71,35 @@ GENERALDOCS= changes.unix \
xmame-doc.sgml \
xmame-doc.txt
XMAMEDOCS= changes.mame \
+ changes.opengl \
gamelist.mame \
readme.mame
XMESSDOCS= changes.mess \
+ credits.txt \
gamelist.mess \
readme.mess \
messold.txt \
messroms.txt
-WPCMAMEDOCS= wpcmame/simulation.txt \
- wpcmame/whatsnew.txt \
- wpcmame/wpcmame.txt
+PINMAMEDOCS= pinmame/simulation.txt \
+ pinmame/whatsnew.txt \
+ pinmame/pinmame.txt \
+ pinmame/gamelist.txt \
+ pinmame/keys.txt \
+ pinmame/sounds.dat
.if ${MAMEMESS} == "mame"
ALLDOCS= ${GENERALDOCS} ${XMAMEDOCS}
.else
.if ${MAMEMESS} == "mess"
ALLDOCS= ${GENERALDOCS} ${XMESSDOCS}
.else
-ALLDOCS= ${GENERALDOCS} ${WPCMAMEDOCS}
+ALLDOCS= ${GENERALDOCS} ${PINMAMEDOCS}
.endif
.endif
# CPS-2 patches - this enables extra games in MAME.
.if ${MAMEMESS} == "mame"
.if defined(WITH_CPS2) && ${WITH_CPS2} == "yes"
-CPS2VERSION= 20010309
+CPS2VERSION= 20010330
PATCH_SITES+= http://www.win.tue.nl/~stijn/xmame/
PATCHFILES+= ${DISTNAME}-cps2-${CPS2VERSION}.patch.gz
@@ -199,10 +209,6 @@ post-install:
${CHMOD} 775 ${SPOOLGAMES}/x${MAMEMESS}
${INSTALL_DATA} ${WRKSRC}/doc/x${MAMEMESS}rc.dist \
${PREFIX}/etc/x${MAMEMESS}rc.sample
- @if [ ! -e ${PREFIX}/etc/x${MAMEMESS}rc ]; then \
- ( cd ${PREFIX}/etc && \
- ${LN} -sf x${MAMEMESS}rc.sample x${MAMEMESS}rc ); \
- fi
${LN} -sf ${PREFIX}/etc/x${MAMEMESS}rc \
${PREFIX}/share/x${MAMEMESS}/x${MAMEMESS}rc
.if !defined(NOPORTDOCS)
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index da7c70e2b5cf..ca01a4113c33 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -1,6 +1,7 @@
MD5 (xmame/xmame-0.37b12.1.tgz) = 8f08ef945ec49872397862d99676690f
+MD5 (xmame/xmame-0.37b13.1.tar.bz2) = ab81777720d7b1e724ff8d1d432325b1
MD5 (xmame/cheat.zip) = dc380436c04780950cee07d3e31bfb0b
MD5 (xmame/history.zip) = 69da5c33e6a78092c6cd75cbeb737c6a
MD5 (xmame/hsdat7.zip) = 9e4a7e36448895f13128a675327e34e4
-MD5 (xmame/xmame-0.37b12.1-cps2-20010309.patch.gz) = 140c5891d70be13aef79d6702ee171ae
-MD5 (xmame/xmame-0.37b12.1-wpcmame-6.0.patch.gz) = c1bab845806bb13a3e24375701cd4a05
+MD5 (xmame/xmame-0.37b13.1-cps2-20010330.patch.gz) = bf1d53ea84a4905d8377a187d3478883
+MD5 (xmame/xmame-0.37b13.1-pinmame-0.99b.patch.gz) = ea61399643a49b96025629960652455b
diff --git a/emulators/xmame/files/patch-ac b/emulators/xmame/files/patch-ac
index c7fbc9ba5e9f..bea3973b68ec 100644
--- a/emulators/xmame/files/patch-ac
+++ b/emulators/xmame/files/patch-ac
@@ -1,5 +1,5 @@
---- src/unix/unix.mak.orig Sat Mar 10 09:11:54 2001
-+++ src/unix/unix.mak Sun Mar 11 19:26:27 2001
+--- src/unix/unix.mak.orig Sat Mar 24 02:33:38 2001
++++ src/unix/unix.mak Fri Mar 30 09:52:29 2001
@@ -50,14 +50,14 @@
LIBS.xfx = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext -lglide2x
LIBS.svgafx = $(X11LIB) -lvga -lvgagl -lglide2x
@@ -9,7 +9,7 @@
LIBS.photon2 = -L/usr/lib -lph -lphrender
CFLAGS.x11 = $(X11INC) $(JOY_X11_CFLAGS)
- CFLAGS.xgl = $(X11INC) $(JOY_X11_CFLAGS) $(GLDRIVER)
+ CFLAGS.xgl = $(X11INC) $(JOY_X11_CFLAGS)
CFLAGS.xfx = $(X11INC) $(JOY_X11_CFLAGS) -I/usr/include/glide
CFLAGS.svgafx = -I/usr/include/glide
-CFLAGS.SDL = -D_REENTRANT
diff --git a/emulators/xmame/pkg-plist b/emulators/xmame/pkg-plist
index e99665a8870f..67bf6d44ed8c 100644
--- a/emulators/xmame/pkg-plist
+++ b/emulators/xmame/pkg-plist
@@ -2,7 +2,6 @@ bin/%%MAMEMESS%%
etc/%%MAMEMESS%%rc.sample
share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/credits.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/liesmich.unix
%%PORTDOCS%%share/doc/%%MAMEMESS%%/multiplayer-readme.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-1.html
@@ -21,16 +20,21 @@ share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%MAMEONLY%%%%DATFILES%%share/xmame/history.dat
%%MAMEONLY%%%%DATFILES%%share/xmame/cheat.dat
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/changes.mame
+%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/changes.opengl
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/gamelist.mame
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/readme.mame
+%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/credits.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/changes.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/gamelist.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/readme.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messold.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
-%%WPCMAMEONLY%%%%PORTDOCS%%share/doc/xwpcmame/simulation.txt
-%%WPCMAMEONLY%%%%PORTDOCS%%share/doc/xwpcmame/whatsnew.txt
-%%WPCMAMEONLY%%%%PORTDOCS%%share/doc/xwpcmame/wpcmame.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/simulation.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/whatsnew.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/pinmame.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/gamelist.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/keys.txt
+%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/sounds.dat
%%PORTDOCS%%@dirrm share/doc/%%MAMEMESS%%
@dirrm share/%%MAMEMESS%%/roms
@dirrm share/%%MAMEMESS%%