diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2004-11-24 17:45:31 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2004-11-24 17:45:31 +0000 |
commit | 44f73148600b7ef5b01d5bf8476acf77c88016ad (patch) | |
tree | ea5c9aa0a20f0131658934dda644bfc5827feaba /emulators/xmame | |
parent | 17c6112a90d482da618ae015d5c8a2ac0b2951ba (diff) |
Notes
Diffstat (limited to 'emulators/xmame')
-rw-r--r-- | emulators/xmame/Makefile | 19 | ||||
-rw-r--r-- | emulators/xmame/distinfo | 4 |
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 |