1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Update of xmame and xmess to 0.61.1

- Update datfiles to latest version
- Use master site sorting for WITH_DATFILES
- (hopefully) fix pkg-plist issues

PR:		45292
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2002-11-15 18:05:41 +00:00
parent d72b40ab34
commit a091f24b78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70179
4 changed files with 41 additions and 57 deletions

View File

@ -6,13 +6,15 @@
#
PORTNAME?= xmame
PORTVERSION?= 0.60.1
PORTVERSION?= 0.61.1
CATEGORIES= emulators
MASTER_SITES= http://x.mame.net/download/ \
http://www.mame.net/zips/ \
http://cheat.retrogames.com/ \
http://www.win.tue.nl/~stijn/xmame/
DISTNAME= xmame-${XMAMEVERSION:S/p/pre/}
MASTER_SITES= http://x.mame.net/download/:xmame \
http://www.sys2064.com/files/util/:history \
http://www.sys2064.com/files/mame/:highscore \
http://cheat.retrogames.com/:cheat \
http://www.win.tue.nl/~stijn/xmame/:history,highscore,cheat
DISTNAME= xmame-${XMAMEVERSION:S/.p/-pr/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:xmame
DIST_SUBDIR= xmame
MAINTAINER?= stijn@win.tue.nl
@ -48,7 +50,10 @@ SPOOLGAMES?= /var/games
# Docs list
GENERALDOCS= changes.unix \
ctrlr.txt \
dga2.txt \
liesmich.unix \
listinfo.txt \
multiplayer-readme.txt \
xmame-doc-1.html \
xmame-doc-2.html \
@ -57,7 +62,10 @@ GENERALDOCS= changes.unix \
xmame-doc-5.html \
xmame-doc-6.html \
xmame-doc-7.html \
xmame-doc-8.html \
xmame-doc.html \
xmame-doc.lyx \
xmame-doc.txt \
xmame-gdoc-1.html \
xmame-gdoc-2.html \
xmame-gdoc-3.html \
@ -65,28 +73,19 @@ GENERALDOCS= changes.unix \
xmame-gdoc-5.html \
xmame-gdoc-6.html \
xmame-gdoc-7.html \
xmame-gdoc.html \
xmame-doc.lyx \
xmame-doc.txt
XMAMEDOCS= changes.mame \
ctrlr.txt \
gamelist.mame \
readme.mame \
xmame-doc-8.html \
xmame-gdoc-8.html \
xmame.css \
dga2.txt
xmame-gdoc.html \
xmame.css
XMAMEDOCS= changes.mame \
gamelist.mame \
readme.mame
XMESSDOCS= changes.mess \
credits.mess \
gamelist.mess \
readme.mess \
messroms.txt \
imgtool.txt \
messhelp.txt \
messroms.txt \
xmame-doc-8.html \
xmame-gdoc-8.html \
xmame.css \
dga2.txt
old-changes.mess
PINMAMEDOCS= pinmame/simulation.txt \
pinmame/whatsnew.txt \
pinmame/pinmame.txt \
@ -122,17 +121,18 @@ PLIST_SUB+= DATFILES=""
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
HIVER= 7
HIVER= 795
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \
hsdat${HIVER}.zip history.zip cheat.zip
DISTFILES+= uhsdat${HIVER}.zip:highscore history.dat.zip:history \
cheat.zip:cheat
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
post-extract:
cd ${WRKDIR} && \
unzip -q ${DISTDIR}/${DIST_SUBDIR}/hsdat${HIVER}.zip hiscore.dat
unzip -q ${DISTDIR}/${DIST_SUBDIR}/uhsdat${HIVER}.zip \
hiscore.dat
cd ${WRKDIR} && \
unzip -q ${DISTDIR}/${DIST_SUBDIR}/history.zip history.dat
unzip -q ${DISTDIR}/${DIST_SUBDIR}/history.dat.zip history.dat
cd ${WRKDIR} && \
unzip -q ${DISTDIR}/${DIST_SUBDIR}/cheat.zip cheat.dat
.else
@ -248,16 +248,6 @@ pre-everything::
${ECHO_MSG} '-------------------------------------------------------------------------';)
.endif
# Some simple patches that don't warrant a separate patch
post-patch:
${PERL} -pi -e 's@SDL/@SDL11/@' ${WRKSRC}/src/unix/video-drivers/SDL.c
${PERL} -pi -e 's@png.h@../../png.h@' \
${WRKSRC}/src/unix/video-drivers/glexport.c
${PERL} -pi -e 's@malloc.h@stdlib.h@' \
${WRKSRC}/src/unix/video-drivers/gljpg.c
${PERL} -pi -e 's@asm/io.h@machine/cpufunc.h@' \
${WRKSRC}/src/unix/video-drivers/twkuser.c
# The large number of sed regexes here is intended to make this port a whole
# lot easier to maintain - please don't convert them into a patch.
do-configure:
@ -267,6 +257,7 @@ do-configure:
-e "s@/usr/X11R6@${X11BASE}@g" \
-e "s@-g bin@-g wheel@g" \
-e "s@^ARCH = linux@ARCH = freebsd@g" \
-e "s@# X11_XV@X11_XV@g" \
-e "s@# X11_DGA@X11_DGA@g" \
-e "s@= x11@= ${DISPLAY_METHOD}@g" \
-e "s@= mame@= ${MAMEMESS}@g" \

View File

@ -1,7 +1,6 @@
MD5 (xmame/xmame-0.60.1.tar.bz2) = 887e3956e410b06b92165637ba219070
MD5 (xmame/xmame-0.61.1.tar.bz2) = 8d0babde89ff1af4280c76f36750a457
MD5 (xmame/xmame-0.59.2.tar.bz2) = f35a5f9a79da963c157867015c284562
MD5 (xmame/xmame-0.56.2.tar.bz2) = e43dd5e087f954351948fb9848485924
MD5 (xmame/cheat.zip) = b745ea4df1a3a517c00fedae1ee49a14
MD5 (xmame/history.zip) = 69da5c33e6a78092c6cd75cbeb737c6a
MD5 (xmame/hsdat7.zip) = 9e4a7e36448895f13128a675327e34e4
MD5 (xmame/history.dat.zip) = 8c758537d5f5bc90fc3224b19421ae12
MD5 (xmame/uhsdat795.zip) = c30956e15cd8218f558f41013a47f22e
MD5 (xmame/xmame-0.59.2-pinmame-1.20.b.patch.gz) = aeefd4f6593d389cddbb7081cfc4eb42

View File

@ -2,6 +2,8 @@ bin/%%MAMEMESS%%
etc/%%MAMEMESS%%rc.sample
share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix
%%PORTDOCS%%share/doc/%%MAMEMESS%%/ctrlr.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/dga2.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/liesmich.unix
%%PORTDOCS%%share/doc/%%MAMEMESS%%/multiplayer-readme.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-1.html
@ -11,7 +13,10 @@ share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-5.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-6.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-7.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-8.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc.lyx
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-1.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-2.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-3.html
@ -21,30 +26,20 @@ share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-7.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-8.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc.html
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc.lyx
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/dga2.txt
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame.css
%%MAMEONLY%%%%DATFILES%%share/xmame/hiscore.dat
%%MAMEONLY%%%%DATFILES%%share/xmame/history.dat
%%MAMEONLY%%%%DATFILES%%share/xmame/cheat.dat
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/changes.mame
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/ctrlr.txt
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/gamelist.mame
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/readme.mame
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/xmame-doc-8.html
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/xmame-gdoc-8.html
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/xmame.css
%%MAMEONLY%%%%PORTDOCS%%share/doc/xmame/dga2.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/changes.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/credits.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/gamelist.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/readme.mess
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/imgtool.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/xmame-doc-8.html
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/xmame-gdoc-8.html
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/xmame.css
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/dga2.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messhelp.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/old-changes.mess
%%MESSONLY%%share/xmess/history.dat
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/simulation.txt
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/whatsnew.txt

View File

@ -6,12 +6,11 @@
#
PORTNAME= xmess
PORTVERSION= 0.56.2
PORTVERSION= 0.61.1
MAINTAINER= stijn@win.tue.nl
MASTERDIR= ${.CURDIR}/../xmame
PATCHDIR= ${.CURDIR}/files
COMMENT= ${.CURDIR}/pkg-comment
DESCR= ${.CURDIR}/pkg-descr