Bug 86526 - [Maintainer Update] fix unfetchable file for emulators/xmame
Summary: [Maintainer Update] fix unfetchable file for emulators/xmame
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-24 12:20 UTC by Miguel Mendez
Modified: 2005-09-27 19:44 UTC (History)
0 users

See Also:


Attachments
xmame.diff (945 bytes, patch)
2005-09-24 12:20 UTC, Miguel Mendez
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Mendez 2005-09-24 12:20:20 UTC

Update the history.dat file so it becomes fetchable again.

Reported by: Kris via pointyhat.
Comment 1 Miguel Mendez 2005-09-24 12:30:31 UTC
On Sat, 24 Sep 2005 11:20:20 GMT
FreeBSD-gnats-submit@FreeBSD.org wrote:

> Thank you very much for your problem report.
> It has the internal identification `ports/86526'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=86526
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [Maintainer Update] fix unfetchable file for emulators/xmame
> >Arrival-Date:   Sat Sep 24 11:20:20 GMT 2005
> 

Actually, let's hold this PR open for a while because I've just noticed
xmame 0.100 is out :)

Cheers,
-- 
Miguel Mendez <flynn@energyhq.es.eu.org>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Comment 2 Miguel Mendez 2005-09-24 19:44:58 UTC
On Sat, 24 Sep 2005 11:20:20 GMT
FreeBSD-gnats-submit@FreeBSD.org wrote:

> Thank you very much for your problem report.
> It has the internal identification `ports/86526'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=86526
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [Maintainer Update] fix unfetchable file for emulators/xmame
> >Arrival-Date:   Sat Sep 24 11:20:20 GMT 2005
> 

Please use the following patch which updates the port to 0.100. Thanks.

cut-----------------------------------------------------------------------
diff -ruN xmame.old/Makefile xmame/Makefile
--- xmame.old/Makefile	Wed Aug 31 16:00:39 2005
+++ xmame/Makefile	Sat Sep 24 16:10:28 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	xmame
-PORTVERSION?=	0.99
+PORTVERSION?=	0.100
 CATEGORIES=	emulators
 MASTER_SITES=	http://x.mame.net/download/:xmame \
 		http://www.arcade-history.com/download/:history \
@@ -130,10 +130,10 @@
 
 EXTRACT_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 
-HIVER=		099
+HIVER=		0100
 
 DISTFILES+=	uhsdat${HIVER}.zip:highscore \
-		history${PORTVERSION:S/./_/}.zip:history \
+		history1_02.zip:history \
 		cheat.zip:cheat
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
@@ -142,7 +142,7 @@
 		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/uhsdat${HIVER}.zip \
 			hiscore.dat
 	cd ${WRKDIR} && \
-		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history${PORTVERSION:S/./_/}.zip \
+		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history1_02.zip \
 			history.dat
 	cd ${WRKDIR} && \
 		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/cheat.zip cheat.dat
diff -ruN xmame.old/distinfo xmame/distinfo
--- xmame.old/distinfo	Wed Aug 31 16:00:39 2005
+++ xmame/distinfo	Sat Sep 24 14:47:16 2005
@@ -1,8 +1,8 @@
-MD5 (xmame/xmame-0.99.tar.bz2) = dec9cc95fb6fad7708f2d1c8e80166ae
-SIZE (xmame/xmame-0.99.tar.bz2) = 15782826
-MD5 (xmame/uhsdat099.zip) = 77fa62e4486191bfe275f0b28fb7a431
-SIZE (xmame/uhsdat099.zip) = 61966
-MD5 (xmame/history0_99.zip) = 0c48f1f6b8f6070c11a79299612fb265
-SIZE (xmame/history0_99.zip) = 1481699
+MD5 (xmame/xmame-0.100.tar.bz2) = c289797531d540853c835a2bb9fad8bc
+SIZE (xmame/xmame-0.100.tar.bz2) = 15905255
+MD5 (xmame/uhsdat0100.zip) = 09480efe7251a508a9f88b512fa22a37
+SIZE (xmame/uhsdat0100.zip) = 62900
+MD5 (xmame/history1_02.zip) = 5e775f567e85c5c68da56947f02966fa
+SIZE (xmame/history1_02.zip) = 1569593
 MD5 (xmame/cheat.zip) = 0ff8ce7a39439d813760e1a8e57af62a
 SIZE (xmame/cheat.zip) = 944626
cut-------------------------------------------------------------------------

-- 
Miguel Mendez <flynn@energyhq.es.eu.org>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2005-09-26 16:32:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

I'll take it.
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2005-09-26 20:13:29 UTC
State Changed
From-To: open->feedback

Ask for maintainer approval.
Comment 5 Renato Botelho freebsd_committer freebsd_triage 2005-09-26 20:15:40 UTC
Dear maintainer, I propose you the following patches. the major changes
are:

xmess:
- Remove PORTVERSION line to use the same of xmame port

xmame:
- Remove old stuff related to pinmame port removed on 2003-11
- Use DATADIR and DOCSDIR macros

Please, take a look and let me know if you approve this.

----------- xmess.patch
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/xmess/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	31 Aug 2005 15:10:49 -0000	1.39
+++ Makefile	26 Sep 2005 19:03:16 -0000
@@ -6,7 +6,6 @@
 #
 
 PORTNAME=	xmess
-PORTVERSION=	0.99
 
 MAINTAINER=	flynn@energyhq.es.eu.org
 COMMENT=	X11 emulator for game consoles
-----------

----------- xmame.patch
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/xmame/Makefile,v
retrieving revision 1.91
diff -u -r1.91 Makefile
--- Makefile	31 Aug 2005 14:00:39 -0000	1.91
+++ Makefile	26 Sep 2005 19:02:52 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	xmame
-PORTVERSION?=	0.99
+PORTVERSION?=	0.100
 CATEGORIES=	emulators
 MASTER_SITES=	http://x.mame.net/download/:xmame \
 		http://www.arcade-history.com/download/:history \
@@ -32,7 +32,7 @@
 # Broken on ia-64
 NOT_FOR_ARCHS=	ia64
 
-# Are we building MAME, MESS or PinMAME? (also set by slave ports)
+# Are we building MAME or MESS? (also set by slave ports)
 MAMEMESS?=	mame
 
 MAN6=		x${MAMEMESS}.6
@@ -49,18 +49,16 @@
 
 XMAMEVERSION?=	${PORTVERSION}
 
+DATADIR=	${PREFIX}/share/x${MAMEMESS}
+DOCSDIR=	${PREFIX}/share/doc/x${MAMEMESS}
 PLIST_SUB+=	MAMEMESS="x${MAMEMESS}" SPOOLGAMES="${SPOOLGAMES}"
 .if ${MAMEMESS} == "mame"
-PLIST_SUB+=	MAMEONLY="" MESSONLY="@comment " PINMAMEONLY="@comment "
+PLIST_SUB+=	MAMEONLY="" MESSONLY="@comment "
 .else
 .if ${MAMEMESS} == "mess"
-PLIST_SUB+=	MAMEONLY="@comment " MESSONLY="" PINMAMEONLY="@comment "
+PLIST_SUB+=	MAMEONLY="@comment " MESSONLY=""
 .else
-.if ${MAMEMESS} == "pinmame"
-PLIST_SUB+=	MAMEONLY="@comment " MESSONLY="@comment " PINMAMEONLY=""
-.else
-.error MAMEMESS must be set to one of "mame", "mess" or "pinmame".
-.endif
+.error MAMEMESS must be set to one of "mame" or "mess".
 .endif
 .endif
 
@@ -100,21 +98,11 @@
 		mess/messroms.txt \
 		mess/sysinfo.dat \
 
-PINMAMEDOCS=	pinmame/simulation.txt \
-		pinmame/whatsnew.txt \
-		pinmame/pinmame.txt \
-		pinmame/gamelist.txt \
-		pinmame/keys.txt \
-		pinmame/sounds.dat
 GLDOCS=		changes.opengl
 .if ${MAMEMESS} == "mame"
 ALLDOCS=	${GENERALDOCS} ${XMAMEDOCS}
 .else
-.if ${MAMEMESS} == "mess"
 ALLDOCS=	${GENERALDOCS} ${XMESSDOCS}
-.else
-ALLDOCS=	${GENERALDOCS} ${PINMAMEDOCS}
-.endif
 .endif
 
 #
@@ -130,10 +118,10 @@
 
 EXTRACT_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 
-HIVER=		099
+HIVER=		0100
 
 DISTFILES+=	uhsdat${HIVER}.zip:highscore \
-		history${PORTVERSION:S/./_/}.zip:history \
+		history1_02.zip:history \
 		cheat.zip:cheat
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
@@ -142,7 +130,7 @@
 		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/uhsdat${HIVER}.zip \
 			hiscore.dat
 	cd ${WRKDIR} && \
-		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history${PORTVERSION:S/./_/}.zip \
+		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history1_02.zip \
 			history.dat
 	cd ${WRKDIR} && \
 		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/cheat.zip cheat.dat
@@ -266,7 +254,7 @@
 	@${CP} ${WRKSRC}/doc/x${MAMEMESS}rc.dist \
 		${WRKSRC}/doc/x${MAMEMESS}rc.dist.sed
 	${SED} -e "s@^spooldir.*\$$@spooldir		${SPOOLGAMES}/x${MAMEMESS}@" \
-		-e "s@^rompath.*\$$@rompath			${PREFIX}/share/x${MAMEMESS}/roms@" \
+		-e "s@^rompath.*\$$@rompath			${DATADIR}/roms@" \
 		${WRKSRC}/doc/x${MAMEMESS}rc.dist.sed > ${WRKSRC}/doc/x${MAMEMESS}rc.dist
 
 post-install:
@@ -285,29 +273,28 @@
 		${PREFIX}/bin/x${MAMEMESS}
 	${CHOWN} root:games ${PREFIX}/bin/x${MAMEMESS}
 	${CHMOD} u-s,g+s ${PREFIX}/bin/x${MAMEMESS}
-	${MKDIR} ${PREFIX}/share/x${MAMEMESS} ${PREFIX}/share/x${MAMEMESS}/roms
+	${MKDIR} ${DATADIR}/roms
 	${MKDIR} ${SPOOLGAMES}/x${MAMEMESS}
 	${CHOWN} -R root:games ${SPOOLGAMES}/x${MAMEMESS}
 	${CHMOD} 775 ${SPOOLGAMES}/x${MAMEMESS}
 	${INSTALL_DATA} ${WRKSRC}/doc/x${MAMEMESS}rc.dist \
 				${PREFIX}/etc/x${MAMEMESS}rc.sample
 	${LN} -sf ${PREFIX}/etc/x${MAMEMESS}rc \
-				${PREFIX}/share/x${MAMEMESS}/x${MAMEMESS}rc
+				${DATADIR}/x${MAMEMESS}rc
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/x${MAMEMESS}
-	${MKDIR} ${PREFIX}/share/doc/x${MAMEMESS}/img
+	${MKDIR} ${DOCSDIR}/img
 .for f in ${ALLDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/x${MAMEMESS}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
 .endfor
 .endif
 .if ${MAMEMESS} == "mess"
 	${INSTALL_DATA} ${WRKSRC}/doc/mess/sysinfo.dat \
-				${PREFIX}/share/xmess/history.dat
+				${DATADIR}/history.dat
 .endif
 .if ${MAMEMESS} == "mame" && defined(WITH_DATFILES)
-	${INSTALL_DATA} ${WRKDIR}/hiscore.dat ${PREFIX}/share/xmame
-	${INSTALL_DATA} ${WRKDIR}/history.dat ${PREFIX}/share/xmame
-	${INSTALL_DATA} ${WRKDIR}/cheat.dat ${PREFIX}/share/xmame
+	${INSTALL_DATA} ${WRKDIR}/hiscore.dat ${DATADIR}
+	${INSTALL_DATA} ${WRKDIR}/history.dat ${DATADIR}
+	${INSTALL_DATA} ${WRKDIR}/cheat.dat ${DATADIR}
 .endif
 .if defined(WITH_OPENGL)
 	@${ECHO_MSG}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/emulators/xmame/distinfo,v
retrieving revision 1.57
diff -u -r1.57 distinfo
--- distinfo	31 Aug 2005 14:00:39 -0000	1.57
+++ distinfo	26 Sep 2005 19:02:52 -0000
@@ -1,8 +1,8 @@
-MD5 (xmame/xmame-0.99.tar.bz2) = dec9cc95fb6fad7708f2d1c8e80166ae
-SIZE (xmame/xmame-0.99.tar.bz2) = 15782826
-MD5 (xmame/uhsdat099.zip) = 77fa62e4486191bfe275f0b28fb7a431
-SIZE (xmame/uhsdat099.zip) = 61966
-MD5 (xmame/history0_99.zip) = 0c48f1f6b8f6070c11a79299612fb265
-SIZE (xmame/history0_99.zip) = 1481699
+MD5 (xmame/xmame-0.100.tar.bz2) = c289797531d540853c835a2bb9fad8bc
+SIZE (xmame/xmame-0.100.tar.bz2) = 15905255
+MD5 (xmame/uhsdat0100.zip) = 09480efe7251a508a9f88b512fa22a37
+SIZE (xmame/uhsdat0100.zip) = 62900
+MD5 (xmame/history1_02.zip) = 5e775f567e85c5c68da56947f02966fa
+SIZE (xmame/history1_02.zip) = 1569593
 MD5 (xmame/cheat.zip) = 0ff8ce7a39439d813760e1a8e57af62a
 SIZE (xmame/cheat.zip) = 944626
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/emulators/xmame/pkg-plist,v
retrieving revision 1.31
diff -u -r1.31 pkg-plist
--- pkg-plist	9 May 2005 07:15:01 -0000	1.31
+++ pkg-plist	26 Sep 2005 19:02:52 -0000
@@ -5,64 +5,58 @@
 %%MESSONLY%%bin/imgtool
 %%MESSONLY%%bin/dat2html
 etc/%%MAMEMESS%%rc.sample
-share/%%MAMEMESS%%/%%MAMEMESS%%rc
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/dga2.txt
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame.jpg
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/liesmich.unix
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/multiplayer-readme.txt
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-2.html
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-3.html
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-4.html
-%%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.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
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-4.html
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-5.html
-%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-gdoc-6.html
-%%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.css
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/credits.htm
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/faq.htm
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/imgtool.txt
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messnew.txt
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
-%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/sysinfo.dat
-%%MESSONLY%%share/xmess/history.dat
-%%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%%/img
-%%PORTDOCS%%@dirrm share/doc/%%MAMEMESS%%
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabfront.jpg
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabtitle.jpg
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/glmame.cab
-%%OPENGL%%@dirrm share/%%MAMEMESS%%/cab/glmame
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmamejau/cabfront.jpg
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmamejau/cabside.jpg
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmamejau/cabtitle.jpg
-%%OPENGL%%share/%%MAMEMESS%%/cab/glmamejau/glmamejau.cab
-%%OPENGL%%@dirrm share/%%MAMEMESS%%/cab/glmamejau
-%%OPENGL%%share/%%MAMEMESS%%/cab/trans/trans.cab
-%%OPENGL%%@dirrm share/%%MAMEMESS%%/cab/trans
-%%OPENGL%%@dirrm share/%%MAMEMESS%%/cab
-%%DATFILES%%share/%%MAMEMESS%%/hiscore.dat
-%%DATFILES%%share/%%MAMEMESS%%/history.dat
-%%DATFILES%%share/%%MAMEMESS%%/cheat.dat
-@exec mkdir -p %D/share/%%MAMEMESS%%/roms || true
-@dirrm share/%%MAMEMESS%%/roms
-@dirrm share/%%MAMEMESS%%
+%%DATADIR%%/%%MAMEMESS%%rc
+%%PORTDOCS%%%%DOCSDIR%%/changes.unix
+%%PORTDOCS%%%%DOCSDIR%%/dga2.txt
+%%PORTDOCS%%%%DOCSDIR%%/xmame.jpg
+%%PORTDOCS%%%%DOCSDIR%%/liesmich.unix
+%%PORTDOCS%%%%DOCSDIR%%/multiplayer-readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-2.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-3.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-4.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-5.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-6.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc-7.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc.lyx
+%%PORTDOCS%%%%DOCSDIR%%/xmame-doc.txt
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-1.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-2.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-3.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-4.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-5.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-6.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-7.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc-8.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame-gdoc.html
+%%PORTDOCS%%%%DOCSDIR%%/xmame.css
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/credits.htm
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/faq.htm
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/imgtool.txt
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/messnew.txt
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/messroms.txt
+%%MESSONLY%%%%PORTDOCS%%%%DOCSDIR%%/sysinfo.dat
+%%MESSONLY%%%%DATADIR%%/history.dat
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/img
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%OPENGL%%%%DATADIR%%/cab/glmame/cabfront.jpg
+%%OPENGL%%%%DATADIR%%/cab/glmame/cabtitle.jpg
+%%OPENGL%%%%DATADIR%%/cab/glmame/glmame.cab
+%%OPENGL%%@dirrm %%DATADIR%%/cab/glmame
+%%OPENGL%%%%DATADIR%%/cab/glmamejau/cabfront.jpg
+%%OPENGL%%%%DATADIR%%/cab/glmamejau/cabside.jpg
+%%OPENGL%%%%DATADIR%%/cab/glmamejau/cabtitle.jpg
+%%OPENGL%%%%DATADIR%%/cab/glmamejau/glmamejau.cab
+%%OPENGL%%@dirrm %%DATADIR%%/cab/glmamejau
+%%OPENGL%%%%DATADIR%%/cab/trans/trans.cab
+%%OPENGL%%@dirrm %%DATADIR%%/cab/trans
+%%OPENGL%%@dirrm %%DATADIR%%/cab
+%%DATFILES%%%%DATADIR%%/hiscore.dat
+%%DATFILES%%%%DATADIR%%/history.dat
+%%DATFILES%%%%DATADIR%%/cheat.dat
+@exec mkdir -p %D/%%DATADIR%%/roms || true
+@dirrm %%DATADIR%%/roms
+@dirrm %%DATADIR%%
 @exec mkdir -p %%SPOOLGAMES%%/%%MAMEMESS%% || true
 @exec chown root:games %%SPOOLGAMES%%/%%MAMEMESS%% || true
 @exec chmod 775 %%SPOOLGAMES%%/%%MAMEMESS%% || true
-----------

-- 
Renato Botelho <garga @ FreeBSD.org>
               <freebsd @ galle.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

He played the king as if afraid someone else would play the ace.
		-- John Mason Brown, drama critic
Comment 6 Miguel Mendez 2005-09-26 20:35:18 UTC
On Mon, 26 Sep 2005 16:15:40 -0300
Renato Botelho <garga@FreeBSD.org> wrote:

> Dear maintainer, I propose you the following patches. the major changes
> are:
> 
> xmess:
> - Remove PORTVERSION line to use the same of xmame port
> 
> xmame:
> - Remove old stuff related to pinmame port removed on 2003-11
> - Use DATADIR and DOCSDIR macros
> 
> Please, take a look and let me know if you approve this.

Excellent, commit! :)

Cheers,
-- 
Miguel Mendez <flynn@energyhq.es.eu.org>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Comment 7 Renato Botelho freebsd_committer freebsd_triage 2005-09-27 11:27:16 UTC
On Mon, Sep 26, 2005 at 09:35:18PM +0200, Miguel Mendez wrote:
> On Mon, 26 Sep 2005 16:15:40 -0300
> Renato Botelho <garga@FreeBSD.org> wrote:
> 
> > Dear maintainer, I propose you the following patches. the major changes
> > are:
> > 
> > xmess:
> > - Remove PORTVERSION line to use the same of xmame port
> > 
> > xmame:
> > - Remove old stuff related to pinmame port removed on 2003-11
> > - Use DATADIR and DOCSDIR macros
> > 
> > Please, take a look and let me know if you approve this.
> 
> Excellent, commit! :)

It worked fine on FreeBSD-6, but doesn't build on 4.x, like you can see
here:

http://srvmix.galle.com.br/tb/errors/4-STABLE/xmess-0.100.log
http://srvmix.galle.com.br/tb/errors/4-STABLE/xmame-0.100.log

Do you know how to fix it? If not I can mark it BROKEN on 4.x

Thanks
-- 
Renato Botelho <garga @ FreeBSD.org>
               <freebsd @ galle.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

Don't be humble ... you're not that great.
		-- Golda Meir
Comment 8 Renato Botelho freebsd_committer freebsd_triage 2005-09-27 19:44:10 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!