View | Details | Raw Unified | Return to bug 109419
Collapse All | Expand All

(-)xmame/Makefile (-51 / +9 lines)
Lines 9-29 Link Here
9
PORTVERSION?=	0.106
9
PORTVERSION?=	0.106
10
PORTREVISION?=	1
10
PORTREVISION?=	1
11
CATEGORIES=	emulators
11
CATEGORIES=	emulators
12
MASTER_SITES=	http://www.franksworld.org/dist/xmame/:xmame \
12
MASTER_SITES=	http://www.franksworld.org/dist/xmame/ \
13
		http://x.mame.net/download/:xmame \
13
		http://x.mame.net/download/ \
14
		http://www.energyhq.es.eu.org/files/:xmame \
14
		http://www.energyhq.es.eu.org/files/ \
15
		http://www.energyhq.be/files/:xmame \
15
		http://www.energyhq.be/files/ \
16
		http://www.pkix.net/mirror/x.mame.net/:xmame \
16
		http://www.pkix.net/mirror/x.mame.net/ \
17
		http://www.franksworld.org/dist/xmame/:history \
18
		http://www.arcade-history.com/download/:history \
19
		http://www.energyhq.es.eu.org/files/:history \
20
		http://www.franksworld.org/dist/xmame/:highscore \
21
		http://www.mameworld.net/highscore/:highscore \
22
		http://www.franksworld.org/dist/xmame/:cheat \
23
		http://cheat.retrogames.com/:cheat
24
DISTNAME=	xmame-${XMAMEVERSION:S/.r/-rc/}
17
DISTNAME=	xmame-${XMAMEVERSION:S/.r/-rc/}
25
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:xmame
26
DIST_SUBDIR=	xmame
27
18
28
MAINTAINER?=	mmendez@energyhq.be
19
MAINTAINER?=	mmendez@energyhq.be
29
COMMENT?=	UNIX/X11 port of the Multi Arcade Machine Emulator (MAME)
20
COMMENT?=	UNIX/X11 port of the Multi Arcade Machine Emulator (MAME)
Lines 54-60 Link Here
54
		ASM68K		"Enable the speedier but buggy 68k emulator" off \
45
		ASM68K		"Enable the speedier but buggy 68k emulator" off \
55
		OPTIMIZATION	"Enable maximum C compiler optimization" off \
46
		OPTIMIZATION	"Enable maximum C compiler optimization" off \
56
		ESOUND		"Enable esound support" off \
47
		ESOUND		"Enable esound support" off \
57
		DATFILES	"Installs additional information files" on \
58
		NETWORK		"Include support for network play (**BROKEN**)" off
48
		NETWORK		"Include support for network play (**BROKEN**)" off
59
49
60
XMAMEVERSION?=	${PORTVERSION}
50
XMAMEVERSION?=	${PORTVERSION}
Lines 128-165 Link Here
128
USE_GCC=	3.4+
118
USE_GCC=	3.4+
129
.endif
119
.endif
130
120
131
# Option WITH_DATFILES
132
.if ${MAMEMESS} == "mame"
133
134
.if defined(WITH_DATFILES)
135
PLIST_SUB+=	DATFILES=""
136
137
EXTRACT_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
138
139
HIVER=		0100
140
HISTVER=	1_06a
141
142
DISTFILES+=	uhsdat${HIVER}.zip:highscore \
143
		history${HISTVER}.zip:history \
144
		cheat.zip:cheat
145
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
146
147
post-extract:
148
	cd ${WRKDIR} && \
149
		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/uhsdat${HIVER}.zip \
150
			hiscore.dat
151
	cd ${WRKDIR} && \
152
		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/history${HISTVER}.zip \
153
			history.dat
154
	cd ${WRKDIR} && \
155
		${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/cheat.zip cheat.dat
156
.else
157
PLIST_SUB+=	DATFILES="@comment "
158
.endif
159
.else # xmess
160
PLIST_SUB+=	DATFILES="@comment "
161
.endif
162
163
.if defined(WITH_ASM68K)
121
.if defined(WITH_ASM68K)
164
ASM_COMMENT=
122
ASM_COMMENT=
165
.else
123
.else
Lines 310-319 Link Here
310
	${INSTALL_DATA} ${WRKSRC}/doc/mess/sysinfo.dat \
268
	${INSTALL_DATA} ${WRKSRC}/doc/mess/sysinfo.dat \
311
				${DATADIR}/history.dat
269
				${DATADIR}/history.dat
312
.endif
270
.endif
313
.if ${MAMEMESS} == "mame" && defined(WITH_DATFILES)
271
.if ${MAMEMESS} == "mame"
314
	${INSTALL_DATA} ${WRKDIR}/hiscore.dat ${DATADIR}
272
	@${ECHO_CMD}
315
	${INSTALL_DATA} ${WRKDIR}/history.dat ${DATADIR}
273
	@${CAT} ${PKGMESSAGE}
316
	${INSTALL_DATA} ${WRKDIR}/cheat.dat ${DATADIR}
274
	@${ECHO_CMD}
317
.endif
275
.endif
318
276
319
.include <bsd.port.post.mk>
277
.include <bsd.port.post.mk>
(-)xmame/pkg-message (+8 lines)
Added Link Here
1
==============================================================================
2
3
xmame has heen installed.
4
5
To install additional MAME files (like cheats, hiscore, history, artwork,
6
etc.) please use the "emulators/mame-extras" port.
7
8
==============================================================================
(-)xmame/pkg-plist (-3 lines)
Lines 52-60 Link Here
52
%%OPENGL%%%%DATADIR%%/cab/trans/trans.cab
52
%%OPENGL%%%%DATADIR%%/cab/trans/trans.cab
53
%%OPENGL%%@dirrm %%DATADIR%%/cab/trans
53
%%OPENGL%%@dirrm %%DATADIR%%/cab/trans
54
%%OPENGL%%@dirrm %%DATADIR%%/cab
54
%%OPENGL%%@dirrm %%DATADIR%%/cab
55
%%DATFILES%%%%DATADIR%%/hiscore.dat
56
%%DATFILES%%%%DATADIR%%/history.dat
57
%%DATFILES%%%%DATADIR%%/cheat.dat
58
@exec mkdir -p %D/%%DATADIR%%/roms || true
55
@exec mkdir -p %D/%%DATADIR%%/roms || true
59
@dirrm %%DATADIR%%/roms
56
@dirrm %%DATADIR%%/roms
60
@dirrm %%DATADIR%%
57
@dirrm %%DATADIR%%

Return to bug 109419