aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-02-25 23:06:17 +0800
committeralepulver <alepulver@FreeBSD.org>2007-02-25 23:06:17 +0800
commit478d4d4a85f617bdd51deeb74c8c7517b7590870 (patch)
tree8787445a81b932508b1e43a2846e9c6259e38c50
parent9646843c448a0a889261d4b5445a5da0a90713ba (diff)
downloadfreebsd-ports-gnome-478d4d4a85f617bdd51deeb74c8c7517b7590870.tar.gz
freebsd-ports-gnome-478d4d4a85f617bdd51deeb74c8c7517b7590870.tar.zst
freebsd-ports-gnome-478d4d4a85f617bdd51deeb74c8c7517b7590870.zip
- Remove DATFILES option (a port emulators/mame-extras will be added soon,
because there will be more MAME/MESS ports). - Remove unused entries and groups from MASTER_SITES. - Add pkg-message with information about the new port. PR: ports/109419 Submitted by: alepulver (myself)
-rw-r--r--emulators/xmame/Makefile60
-rw-r--r--emulators/xmame/pkg-message8
-rw-r--r--emulators/xmame/pkg-plist3
3 files changed, 17 insertions, 54 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 2cd5df27a247..9fdf7a578497 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -9,21 +9,12 @@ PORTNAME?= xmame
PORTVERSION?= 0.106
PORTREVISION?= 1
CATEGORIES= emulators
-MASTER_SITES= http://www.franksworld.org/dist/xmame/:xmame \
- http://x.mame.net/download/:xmame \
- http://www.energyhq.es.eu.org/files/:xmame \
- http://www.energyhq.be/files/:xmame \
- http://www.pkix.net/mirror/x.mame.net/:xmame \
- http://www.franksworld.org/dist/xmame/:history \
- http://www.arcade-history.com/download/:history \
- http://www.energyhq.es.eu.org/files/:history \
- http://www.franksworld.org/dist/xmame/:highscore \
- http://www.mameworld.net/highscore/:highscore \
- http://www.franksworld.org/dist/xmame/:cheat \
- http://cheat.retrogames.com/:cheat
+MASTER_SITES= http://www.franksworld.org/dist/xmame/ \
+ http://x.mame.net/download/ \
+ http://www.energyhq.es.eu.org/files/ \
+ http://www.energyhq.be/files/ \
+ http://www.pkix.net/mirror/x.mame.net/ \
DISTNAME= xmame-${XMAMEVERSION:S/.r/-rc/}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:xmame
-DIST_SUBDIR= xmame
MAINTAINER?= ports@FreeBSD.org
COMMENT?= UNIX/X11 port of the Multi Arcade Machine Emulator (MAME)
@@ -54,7 +45,6 @@ OPTIONS= SDL "Use the SDL driver" on \
ASM68K "Enable the speedier but buggy 68k emulator" off \
OPTIMIZATION "Enable maximum C compiler optimization" off \
ESOUND "Enable esound support" off \
- DATFILES "Installs additional information files" on \
NETWORK "Include support for network play (**BROKEN**)" off
XMAMEVERSION?= ${PORTVERSION}
@@ -128,38 +118,6 @@ BROKEN= internal gcc error on FreeBSD < 6.x
USE_GCC= 3.4+
.endif
-# Option WITH_DATFILES
-.if ${MAMEMESS} == "mame"
-
-.if defined(WITH_DATFILES)
-PLIST_SUB+= DATFILES=""
-
-EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-
-HIVER= 0100
-HISTVER= 1_06a
-
-DISTFILES+= uhsdat${HIVER}.zip:highscore \
- history${HISTVER}.zip:history \
- cheat.zip:cheat
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-post-extract:
- cd ${WRKDIR} && \
- ${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/uhsdat${HIVER}.zip \
- hiscore.dat
- cd ${WRKDIR} && \
- ${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history${HISTVER}.zip \
- history.dat
- cd ${WRKDIR} && \
- ${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/cheat.zip cheat.dat
-.else
-PLIST_SUB+= DATFILES="@comment "
-.endif
-.else # xmess
-PLIST_SUB+= DATFILES="@comment "
-.endif
-
.if defined(WITH_ASM68K)
ASM_COMMENT=
.else
@@ -310,10 +268,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/mess/sysinfo.dat \
${DATADIR}/history.dat
.endif
-.if ${MAMEMESS} == "mame" && defined(WITH_DATFILES)
- ${INSTALL_DATA} ${WRKDIR}/hiscore.dat ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/history.dat ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/cheat.dat ${DATADIR}
+.if ${MAMEMESS} == "mame"
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
.endif
.include <bsd.port.post.mk>
diff --git a/emulators/xmame/pkg-message b/emulators/xmame/pkg-message
new file mode 100644
index 000000000000..c2bdfd42c245
--- /dev/null
+++ b/emulators/xmame/pkg-message
@@ -0,0 +1,8 @@
+==============================================================================
+
+xmame has heen installed.
+
+To install additional MAME files (like cheats, hiscore, history, artwork,
+etc.) please use the "emulators/mame-extras" port.
+
+==============================================================================
diff --git a/emulators/xmame/pkg-plist b/emulators/xmame/pkg-plist
index faf7b6890798..615136ca2476 100644
--- a/emulators/xmame/pkg-plist
+++ b/emulators/xmame/pkg-plist
@@ -52,9 +52,6 @@ etc/%%MAMEMESS%%rc.sample
%%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%%