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

(-)xmame/Makefile (-21 / +30 lines)
Lines 6-19 Link Here
6
#
6
#
7
7
8
PORTNAME?=	xmame
8
PORTNAME?=	xmame
9
PORTVERSION?=	0.61.1
9
PORTVERSION?=	0.65.1
10
CATEGORIES=	emulators
10
CATEGORIES=	emulators
11
MASTER_SITES=	http://x.mame.net/download/:xmame \
11
MASTER_SITES=	http://x.mame.net/download/:xmame \
12
		http://www.sys2064.com/files/util/:history \
12
		http://www.sys2064.com/files/util/:history \
13
		http://www.sys2064.com/files/mame/:highscore \
13
		http://www.sys2064.com/files/mame/:highscore \
14
		http://cheat.retrogames.com/:cheat \
14
		http://cheat.retrogames.com/:cheat \
15
		http://www.win.tue.nl/~stijn/xmame/:history,highscore,cheat
15
		http://www.win.tue.nl/~stijn/xmame/:history,highscore,cheat
16
DISTNAME=	xmame-${XMAMEVERSION:S/.p/-pr/}
16
DISTNAME=	xmame-${XMAMEVERSION:S/.r/-rc/}
17
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:xmame
17
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:xmame
18
DIST_SUBDIR=	xmame
18
DIST_SUBDIR=	xmame
19
19
Lines 52-57 Link Here
52
GENERALDOCS=	changes.unix \
52
GENERALDOCS=	changes.unix \
53
		ctrlr.txt \
53
		ctrlr.txt \
54
		dga2.txt \
54
		dga2.txt \
55
		img/xmame.jpg \
55
		liesmich.unix \
56
		liesmich.unix \
56
		listinfo.txt \
57
		listinfo.txt \
57
		multiplayer-readme.txt \
58
		multiplayer-readme.txt \
Lines 85-91 Link Here
85
		imgtool.txt \
86
		imgtool.txt \
86
		messhelp.txt \
87
		messhelp.txt \
87
		messroms.txt \
88
		messroms.txt \
88
		old-changes.mess
89
		old-changes.mess \
90
		readme.mess
89
PINMAMEDOCS=	pinmame/simulation.txt \
91
PINMAMEDOCS=	pinmame/simulation.txt \
90
		pinmame/whatsnew.txt \
92
		pinmame/whatsnew.txt \
91
		pinmame/pinmame.txt \
93
		pinmame/pinmame.txt \
Lines 106-113 Link Here
106
PKGOPTS=	${FILESDIR}/pkg-opts
108
PKGOPTS=	${FILESDIR}/pkg-opts
107
109
108
#
110
#
109
# Various options are processed here. Note that due to a bug in make(1), at
111
# Various options are processed here.
110
# present the conditionals are suboptimal. See PR bin/34032.
111
#
112
#
112
113
113
# Option WITH_DATFILES
114
# Option WITH_DATFILES
Lines 148-154 Link Here
148
.if ${WITH_ASM68K:L} == "yes"
149
.if ${WITH_ASM68K:L} == "yes"
149
ASM_COMMENT=
150
ASM_COMMENT=
150
.else
151
.else
151
ASM_COMMENT=\#
152
ASM_COMMENT=\#\ 
152
.endif
153
.endif
153
154
154
# Option WITH_OPTIMIZATION
155
# Option WITH_OPTIMIZATION
Lines 160-165 Link Here
160
.endif
161
.endif
161
.endif
162
.endif
162
163
164
SDLSOUNDCOMMENT= \#\ 
165
163
# Option DISPLAY_TARGET
166
# Option DISPLAY_TARGET
164
.if !defined(DISPLAY_TARGET)
167
.if !defined(DISPLAY_TARGET)
165
DISPLAY_TARGET=sdl
168
DISPLAY_TARGET=sdl
Lines 176-183 Link Here
176
179
177
.if ${DISPLAY_TARGET:L} == "svgalib"
180
.if ${DISPLAY_TARGET:L} == "svgalib"
178
LIB_DEPENDS=	vga.1:${PORTSDIR}/graphics/svgalib
181
LIB_DEPENDS=	vga.1:${PORTSDIR}/graphics/svgalib
179
CFLAGS+=	-I${LOCALBASE}/include
180
MAKE_ENV+=	LOCALBASE=${LOCALBASE}
181
DISPLAY_METHOD=	svgalib
182
DISPLAY_METHOD=	svgalib
182
.else
183
.else
183
184
Lines 194-199 Link Here
194
LIB_DEPENDS=    SDL-1.1.5:${PORTSDIR}/devel/sdl12
195
LIB_DEPENDS=    SDL-1.1.5:${PORTSDIR}/devel/sdl12
195
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
196
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
196
DISPLAY_METHOD=	SDL
197
DISPLAY_METHOD=	SDL
198
SDLSOUNDCOMMENT=
197
.endif
199
.endif
198
.endif
200
.endif
199
.endif
201
.endif
Lines 250-273 Link Here
250
252
251
# The large number of sed regexes here is intended to make this port a whole
253
# The large number of sed regexes here is intended to make this port a whole
252
# lot easier to maintain - please don't convert them into a patch.
254
# lot easier to maintain - please don't convert them into a patch.
255
#
256
# XXX: The -Imess part was added because of a conflict with cdparanoia-3.9.8_3
257
#      which (imho bogusly) installs an 'utils.h' header in $LOCALBASE/include
253
do-configure:
258
do-configure:
254
	${SED} -e "s@= gcc@?=  ${CC}@g" \
259
	${SED} -e "s@= gcc@?=  ${CC}@g" \
255
		-e "s@^CFLAGS.*@CFLAGS ?= ${CFLAGS}@g" \
260
		-e "s@^TARGET.*@TARGET = ${MAMEMESS}@g" \
256
		-e "s@lib/x\$$(TARGET)@share/x\$$(TARGET)@g" \
257
		-e "s@/usr/X11R6@${X11BASE}@g" \
258
		-e "s@-g bin@-g wheel@g" \
259
		-e "s@^ARCH  = linux@ARCH  = freebsd@g" \
260
		-e "s@# X11_XV@X11_XV@g" \
261
		-e "s@# X11_DGA@X11_DGA@g" \
262
		-e "s@= x11@= ${DISPLAY_METHOD}@g" \
263
		-e "s@= mame@= ${MAMEMESS}@g" \
264
		-e "s@# X86_ASM@${ASM_COMMENT}X86_ASM@g" \
265
		-e "s@# SOUND_ESOUND@${ESOUNDCOMMENT}SOUND_ESOUND@g" \
266
		-e "s@# MAME_NET@${NETWORK}MAME_NET@g" \
261
		-e "s@# MAME_NET@${NETWORK}MAME_NET@g" \
262
		-e "s@# X86_ASM_68000@${ASM_COMMENT}X86_ASM_68000@g" \
263
		-e "s@^CFLAGS.*@CFLAGS ?= ${CFLAGS}@g" \
264
		-e "s@^INSTALL_GROUP.*@INSTALL_GROUP = wheel@g" \
267
		-e "s@# LIBS.*@LIBS = -L${LOCALBASE}/lib@g" \
265
		-e "s@# LIBS.*@LIBS = -L${LOCALBASE}/lib@g" \
268
		-e "s@sdl-config@${SDL_CONFIG}@g" \
266
		-e "s@# INCLUDES.*@INCLUDES = -Imess -I${LOCALBASE}/include@g" \
267
		-e "s@^PREFIX.*@PREFIX = ${PREFIX}@g" \
268
		-e "s@/share/man@/man@g" \
269
		-e "s@^MY_CPU.*@MY_CPU = ${ARCH}@g" \
270
		-e "s@^ARCH.*@ARCH = freebsd@g" \
269
		-e "s@# JOY_USB@JOY_USB@g" \
271
		-e "s@# JOY_USB@JOY_USB@g" \
270
		-e "s@GLLIBS=.-ldl@GLLIBS= ${PTHREAD_LIBS}@g" \
272
		-e "s@# SOUND_ESOUND@${ESOUNDCOMMENT}SOUND_ESOUND@g" \
273
		-e "s@# SOUND_SDL@${SDLSOUNDCOMMENT}SOUND_SDL@g" \
274
		-e "s@^DISPLAY_METHOD.*@DISPLAY_METHOD = ${DISPLAY_METHOD}@g" \
275
		-e "s@# X11_DGA@X11_DGA@g" \
276
		-e "s@/usr/X11R6@${X11BASE}@g" \
277
		-e "s@^SDL_CONFIG.*@SDL_CONFIG = ${SDL_CONFIG}@g" \
278
		-e "s@^GLLIBS=.*@GLLIBS= ${PTHREAD_LIBS}@g" \
271
			${WRKSRC}/makefile.unix > ${WRKSRC}/Makefile
279
			${WRKSRC}/makefile.unix > ${WRKSRC}/Makefile
272
280
273
post-build:
281
post-build:
Lines 296-301 Link Here
296
				${PREFIX}/share/x${MAMEMESS}/x${MAMEMESS}rc
304
				${PREFIX}/share/x${MAMEMESS}/x${MAMEMESS}rc
297
.if !defined(NOPORTDOCS)
305
.if !defined(NOPORTDOCS)
298
	${MKDIR} ${PREFIX}/share/doc/x${MAMEMESS}
306
	${MKDIR} ${PREFIX}/share/doc/x${MAMEMESS}
307
	${MKDIR} ${PREFIX}/share/doc/x${MAMEMESS}/img
299
.for file in ${ALLDOCS}
308
.for file in ${ALLDOCS}
300
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/x${MAMEMESS}
309
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/x${MAMEMESS}
301
.endfor
310
.endfor
(-)xmame/distinfo (-1 / +1 lines)
Lines 1-4 Link Here
1
MD5 (xmame/xmame-0.61.1.tar.bz2) = 8d0babde89ff1af4280c76f36750a457
1
MD5 (xmame/xmame-0.65.1.tar.bz2) = 7bf1f83c22d3093944c322bb5315d317
2
MD5 (xmame/xmame-0.59.2.tar.bz2) = f35a5f9a79da963c157867015c284562
2
MD5 (xmame/xmame-0.59.2.tar.bz2) = f35a5f9a79da963c157867015c284562
3
MD5 (xmame/cheat.zip) = b745ea4df1a3a517c00fedae1ee49a14
3
MD5 (xmame/cheat.zip) = b745ea4df1a3a517c00fedae1ee49a14
4
MD5 (xmame/history.dat.zip) = 8c758537d5f5bc90fc3224b19421ae12
4
MD5 (xmame/history.dat.zip) = 8c758537d5f5bc90fc3224b19421ae12
(-)xmame/files/patch-src::unix::unix.mak (+22 lines)
Line 0 Link Here
1
--- src/unix/unix.mak.orig	Wed Feb 12 05:13:26 2003
2
+++ src/unix/unix.mak	Wed Feb 12 10:04:04 2003
3
@@ -31,7 +31,7 @@
4
 LIBS.macosx	   = -framework CoreAudio
5
 #LIBS.openbsd       = -lossaudio
6
 LIBS.nto	   = -lsocket -lasound
7
-LIBS.beos          = `sdl-config --libs`
8
+LIBS.beos          = `$(SDL_CONFIG) --libs`
9
 
10
 ##############################################################################
11
 # **** Display dependent settings.
12
@@ -219,8 +219,8 @@
13
 endif
14
 
15
 ifdef SOUND_SDL
16
-CONFIG  += -DSYSDEP_DSP_SDL `sdl-config --cflags`
17
-MY_LIBS += `sdl-config --libs`
18
+CONFIG  += -DSYSDEP_DSP_SDL `$(SDL_CONFIG) --cflags`
19
+MY_LIBS += `$(SDL_CONFIG) --libs`
20
 endif
21
 
22
 ifdef SOUND_WAVEOUT
(-)xmame/pkg-plist (+4 lines)
Lines 4-10 Link Here
4
%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix
4
%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix
5
%%PORTDOCS%%share/doc/%%MAMEMESS%%/ctrlr.txt
5
%%PORTDOCS%%share/doc/%%MAMEMESS%%/ctrlr.txt
6
%%PORTDOCS%%share/doc/%%MAMEMESS%%/dga2.txt
6
%%PORTDOCS%%share/doc/%%MAMEMESS%%/dga2.txt
7
%%PORTDOCS%%share/doc/%%MAMEMESS%%/img/xmame.jpg
7
%%PORTDOCS%%share/doc/%%MAMEMESS%%/liesmich.unix
8
%%PORTDOCS%%share/doc/%%MAMEMESS%%/liesmich.unix
9
%%PORTDOCS%%share/doc/%%MAMEMESS%%/listinfo.txt
8
%%PORTDOCS%%share/doc/%%MAMEMESS%%/multiplayer-readme.txt
10
%%PORTDOCS%%share/doc/%%MAMEMESS%%/multiplayer-readme.txt
9
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-1.html
11
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-1.html
10
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-2.html
12
%%PORTDOCS%%share/doc/%%MAMEMESS%%/xmame-doc-2.html
Lines 40-45 Link Here
40
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messhelp.txt
42
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messhelp.txt
41
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
43
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/messroms.txt
42
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/old-changes.mess
44
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/old-changes.mess
45
%%MESSONLY%%%%PORTDOCS%%share/doc/xmess/readme.mess
43
%%MESSONLY%%share/xmess/history.dat
46
%%MESSONLY%%share/xmess/history.dat
44
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/simulation.txt
47
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/simulation.txt
45
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/whatsnew.txt
48
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/whatsnew.txt
Lines 48-53 Link Here
48
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/keys.txt
51
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/keys.txt
49
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/sounds.dat
52
%%PINMAMEONLY%%%%PORTDOCS%%share/doc/xpinmame/sounds.dat
50
%%OPENGL%%%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.opengl
53
%%OPENGL%%%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.opengl
54
%%PORTDOCS%%@dirrm share/doc/%%MAMEMESS%%/img
51
%%PORTDOCS%%@dirrm share/doc/%%MAMEMESS%%
55
%%PORTDOCS%%@dirrm share/doc/%%MAMEMESS%%
52
%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabfront.jpg
56
%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabfront.jpg
53
%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabtitle.jpg
57
%%OPENGL%%share/%%MAMEMESS%%/cab/glmame/cabtitle.jpg
(-)xmess/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	xmess
8
PORTNAME=	xmess
9
PORTVERSION=	0.61.1
9
PORTVERSION=	0.65.1
10
10
11
MAINTAINER=	stijn@win.tue.nl
11
MAINTAINER=	stijn@win.tue.nl

Return to bug 48202