aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2004-11-25 01:45:31 +0800
committerdaichi <daichi@FreeBSD.org>2004-11-25 01:45:31 +0800
commit078f86d7c4e8e3e1ecaa61e7240904870de79ca7 (patch)
tree39716cb2083b6580d46f107df300d4c3ffc1291e /emulators
parent249c5bd434fab1884f8a49f96270162f80091b0c (diff)
downloadfreebsd-ports-gnome-078f86d7c4e8e3e1ecaa61e7240904870de79ca7.tar.gz
freebsd-ports-gnome-078f86d7c4e8e3e1ecaa61e7240904870de79ca7.tar.zst
freebsd-ports-gnome-078f86d7c4e8e3e1ecaa61e7240904870de79ca7.zip
[Maintainer Update] emulators/xmame to 0.88
PR: ports/74207 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org> (maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile19
-rw-r--r--emulators/xmame/distinfo4
2 files changed, 18 insertions, 5 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index d86eb881b80a..50e8550ee39e 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -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>
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index 0aa0ac96b68d..8b3622d03816 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -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