summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-11 02:16:02 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-11 02:16:02 +0000
commit66bbd4b7aac4ba5024db4aaa1bff8447dbe9682f (patch)
tree4dd040dc44c605cd2a45ff084d6d49f1a4d758f9 /emulators
parentImplement a serious hack that should allow people to fetch the distfile (diff)
Update to version 0.37b7.1
PR: 23050 Submitted by: Jimmy Olgeni <olgeni@uli.it>
Notes
Notes: svn path=/head/; revision=35839
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile14
-rw-r--r--emulators/xmame/distinfo2
-rw-r--r--emulators/xmame/files/patch-aa13
-rw-r--r--emulators/xmame/files/patch-ab10
-rw-r--r--emulators/xmame/files/patch-aj11
-rw-r--r--emulators/xmame/pkg-plist34
6 files changed, 61 insertions, 23 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 77beae71adaa..96d1a0008d17 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= xmame
-PORTVERSION= 0.37b5.1
+PORTVERSION= 0.37b7.1
+PORTREVISION= 0
CATEGORIES= emulators
MASTER_SITES= http://x.mame.net/download/ \
ftp://ftp.kaupp.cx/pub/xmame/ \
@@ -22,9 +23,12 @@ MAKEFILE= makefile.unix
MAN6= xmame.6
-XMAMEDOCS= changes.mame changes.unix credits.unix leeme.unix \
- liesmich.unix maillist.txt multiplayer-readme.txt \
- readme.fx readme.mame readme.unix readme.xgl todo
+XMAMEDOCS= changes.mame changes.unix gamelist.mame \
+ imgtool.txt liesmich.unix multiplayer-readme.txt \
+ readme.mame todo xmame-doc-1.html xmame-doc-2.html \
+ xmame-doc-3.html xmame-doc-4.html xmame-doc-5.html \
+ xmame-doc-6.html xmame-doc-7.html xmame-doc.html \
+ xmame-doc.lyx xmame-doc.ps xmame-doc.sgml xmame-doc.txt
.if !defined(NOPORTDOCS)
PLIST_SUB+= PORTDOCS=""
@@ -37,7 +41,7 @@ PLIST_SUB+= PORTDOCS="@comment "
post-patch:
${PERL} -pi -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/doc/xmamerc.dist
@${CP} ${WRKSRC}/makefile.unix ${WRKSRC}/makefile.unix.sed
- ${SED} -e "s@= gcc@?= ${CC}@g" -e "s@= -O -Wall@s?= ${CFLAGS}@g" \
+ ${SED} -e "s@= gcc@?= ${CC}@g" -e "s@= -O -Wall@?= ${CFLAGS}@g" \
-e "s@= cp@?= ${INSTALL} ${COPY}@g" -e "s@/usr/games@${PREFIX}/bin@g" \
-e "s@/usr/local/man/man6@${PREFIX}/man/man6@g" \
-e "s@/usr/games/lib/\$\(NAME\)@${PREFIX}/share/\$\(NAME\)@g" \
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index 7c54a01af611..9daedc0d7dd0 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -1 +1 @@
-MD5 (xmame-0.37b5.1.tgz) = f534d9157e6f922a98af670c93fb28e5
+MD5 (xmame-0.37b7.1.tgz) = 3d856af670f8934e1c5f4bdffd902e35
diff --git a/emulators/xmame/files/patch-aa b/emulators/xmame/files/patch-aa
new file mode 100644
index 000000000000..430dfee73df6
--- /dev/null
+++ b/emulators/xmame/files/patch-aa
@@ -0,0 +1,13 @@
+--- makefile.unix.orig Sun Nov 5 15:55:59 2000
++++ makefile.unix Sun Nov 5 15:56:14 2000
+@@ -90,8 +90,8 @@
+ # if strict ansi used set IL to "static"
+ # This can very noticably increase xmame's performance, so enabling this is
+ # encouraged, it works fine with gcc and probably with most other compilers.
+-# IL = '-DINLINE=static inline'
+-IL = -DINLINE=static
++IL = '-DINLINE=static inline'
++# IL = -DINLINE=static
+
+ # *** Choose your linker & linker flags ( some OS's needs native linker
+ # instead GNU one )
diff --git a/emulators/xmame/files/patch-ab b/emulators/xmame/files/patch-ab
index fbea7424f7e2..d123931c6c3e 100644
--- a/emulators/xmame/files/patch-ab
+++ b/emulators/xmame/files/patch-ab
@@ -1,15 +1,15 @@
---- doc/xmamerc.dist.orig Sat Apr 8 00:24:47 2000
-+++ doc/xmamerc.dist Wed May 3 21:00:00 2000
+--- doc/xmamerc.dist.orig Sun Nov 5 15:30:02 2000
++++ doc/xmamerc.dist Sun Nov 5 15:32:12 2000
@@ -60,7 +60,7 @@
samples 1
samplefreq 22050
- bufsize 2.000000
+ bufsize 3.000000
-volume -3
+volume -13
# audiodevice <NULL> (not set)
# mixerdevice <NULL> (not set)
-@@ -70,12 +70,12 @@
+@@ -70,13 +70,13 @@
mouse 1
### Fileio Related ###
@@ -19,9 +19,11 @@
+spooldir %%PREFIX%%/share/xmame/hi
screenshotdir .
-cheatfile /usr/games/lib/xmame/cheat.dat
+-hiscorefile /usr/games/lib/xmame/hiscore.dat
-historyfile /usr/games/lib/xmame/history.dat
-mameinfofile /usr/games/lib/xmame/mameinfo.dat
+cheatfile %%PREFIX%%/share/xmame/cheat.dat
++hiscorefile %%PREFIX%%/share/xmame/hiscore.dat
+historyfile %%PREFIX%%/share/xmame/history.dat
+mameinfofile %%PREFIX%%/share/xmame/mameinfo.dat
diff --git a/emulators/xmame/files/patch-aj b/emulators/xmame/files/patch-aj
new file mode 100644
index 000000000000..6baace6b53e6
--- /dev/null
+++ b/emulators/xmame/files/patch-aj
@@ -0,0 +1,11 @@
+--- src/unix/unix.mak.orig Sun Nov 5 16:12:08 2000
++++ src/unix/unix.mak Sun Nov 5 16:12:17 2000
+@@ -309,7 +309,7 @@
+ install-man:
+ @echo installing manual pages under $(MANDIR) ...
+ -mkdir $(MANDIR)
+- $(INSTALL) doc/xmame.man $(MANDIR)/xmame.6
++ $(INSTALL) doc/xmame.6 $(MANDIR)/xmame.6
+
+ doinstall:
+ @echo installing binaries under $(DESTDIR)...
diff --git a/emulators/xmame/pkg-plist b/emulators/xmame/pkg-plist
index ac3c94fb282b..14e0f2d4278a 100644
--- a/emulators/xmame/pkg-plist
+++ b/emulators/xmame/pkg-plist
@@ -1,21 +1,29 @@
bin/xmame
share/xmame/xmamerc
-share/doc/xmame/changes.mame
-share/doc/xmame/changes.unix
-share/doc/xmame/credits.unix
-share/doc/xmame/leeme.unix
-share/doc/xmame/liesmich.unix
-share/doc/xmame/maillist.txt
-share/doc/xmame/multiplayer-readme.txt
-share/doc/xmame/readme.fx
-share/doc/xmame/readme.mame
-share/doc/xmame/readme.unix
-share/doc/xmame/readme.xgl
-share/doc/xmame/todo
+%%PORTDOCS%%share/doc/xmame/changes.mame
+%%PORTDOCS%%share/doc/xmame/changes.unix
+%%PORTDOCS%%share/doc/xmame/gamelist.mame
+%%PORTDOCS%%share/doc/xmame/imgtool.txt
+%%PORTDOCS%%share/doc/xmame/liesmich.unix
+%%PORTDOCS%%share/doc/xmame/multiplayer-readme.txt
+%%PORTDOCS%%share/doc/xmame/readme.mame
+%%PORTDOCS%%share/doc/xmame/todo
+%%PORTDOCS%%share/doc/xmame/xmame-doc-1.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-2.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-3.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-4.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-5.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-6.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc-7.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc.html
+%%PORTDOCS%%share/doc/xmame/xmame-doc.lyx
+%%PORTDOCS%%share/doc/xmame/xmame-doc.ps
+%%PORTDOCS%%share/doc/xmame/xmame-doc.sgml
+%%PORTDOCS%%share/doc/xmame/xmame-doc.txt
@exec mkdir -p %D/share/xmame/hi
@exec mkdir -p %D/share/xmame/roms
@exec chmod 777 %D/share/xmame/hi
@unexec rmdir %D/share/xmame/roms 2>/dev/null || true
@unexec rmdir %D/share/xmame/hi 2>/dev/null || true
@unexec rmdir %D/share/xmame 2>/dev/null || true
-@dirrm share/doc/xmame
+%%PORTDOCS%%@dirrm share/doc/xmame