[Maintainer Update] emulators/xmame to 0.88

PR:		ports/74207
Submitted by:	Miguel Mendez <flynn@energyhq.es.eu.org> (maintainer)
This commit is contained in:
Daichi GOTO 2004-11-24 17:45:31 +00:00
parent 17c6112a90
commit 44f7314860
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122318
2 changed files with 18 additions and 5 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME?= xmame
PORTVERSION?= 0.87
PORTVERSION?= 0.88
CATEGORIES= emulators
MASTER_SITES= http://x.mame.net/download/:xmame \
http://www.sys2064.com/files/util/:history \
@ -166,9 +166,9 @@ DISPLAY_TARGET=sdl
.endif
.if ${DISPLAY_TARGET:L} == "opengl"
CFLAGS+= ${PTHREAD_CFLAGS}
CFLAGS+= ${PTHREAD_CFLAGS} -I${X11BASE}/include
USE_GL= yes
DISPLAY_METHOD= xgl
DISPLAY_METHOD= x11
PLIST_SUB+= OPENGL=""
ALL_DOCS+= ${GLDOCS}
.else
@ -281,6 +281,10 @@ do-configure:
${REINPLACE_CMD} -e "s@# JOY_SDL = 1@JOY_SDL = 1@g" ${WRKSRC}/makefile.unix
.endif
.if ${DISPLAY_TARGET:L} == "opengl"
${REINPLACE_CMD} -e "s@# X11_OPENGL = 1@X11_OPENGL = 1@g" ${WRKSRC}/makefile.unix
.endif
# png.h conflicts with libpng.
.for f in mess/artworkx.c mess/artworkx.h src/artwork.c \
src/common.c src/png.c src/unix/video-drivers/glexport.c
@ -333,5 +337,14 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/history.dat ${PREFIX}/share/xmame
${INSTALL_DATA} ${WRKDIR}/cheat.dat ${PREFIX}/share/xmame
.endif
.if ${DISPLAY_TARGET:L} == "opengl"
@${ECHO_MSG}
@${ECHO_MSG} "**************************************************************"
@${ECHO_MSG} "* HEADSUP: The OpenGL code is now built on top of the X11"
@${ECHO_MSG} "* drivers. You can enable OpenGL rendering with the -vidmode 2"
@${ECHO_MSG} "* option."
@${ECHO_MSG} "**************************************************************"
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>

View file

@ -1,5 +1,5 @@
MD5 (xmame/xmame-0.87.tar.bz2) = 817f825ea92baf5f5e98ecb13193b844
SIZE (xmame/xmame-0.87.tar.bz2) = 14601566
MD5 (xmame/xmame-0.88.tar.bz2) = 5f247adfc80362101ff207a061e81516
SIZE (xmame/xmame-0.88.tar.bz2) = 14799683
MD5 (xmame/uhsdat795.zip) = c30956e15cd8218f558f41013a47f22e
SIZE (xmame/uhsdat795.zip) = 43750
MD5 (xmame/history.dat.zip) = 8c758537d5f5bc90fc3224b19421ae12