summaryrefslogtreecommitdiff
path: root/emulators/xmess
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-11-08 10:03:41 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-11-08 10:03:41 +0000
commitee3b0d9c7d04401a8b4f8520dbb2a487bde260e1 (patch)
treeb7f0e20825ed39a7ddb530e629b79a22e4416df7 /emulators/xmess
parent30f695e1aefcc0aeac0b7587af069adfaed08128 (diff)
downloadpkgsrc-ee3b0d9c7d04401a8b4f8520dbb2a487bde260e1.tar.gz
Convert xmame and xmess to use bsd.options.mk.
Available options are: sdl opengl esound. sdl and opengl options are used to specify default display method, if none of them is specified, x11 is used as before.
Diffstat (limited to 'emulators/xmess')
-rw-r--r--emulators/xmess/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 51a4f080358..3ebb98aa753 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2004/11/07 16:11:48 kristerw Exp $
+# $NetBSD: Makefile,v 1.61 2004/11/08 10:03:41 xtraeme Exp $
#
DISTNAME= xmame-0.87
@@ -24,8 +24,7 @@ TARGET= ${PKGBASE}
UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= USE_ESOUND
+.include "${.CURDIR}/../../emulators/xmame/options.mk"
ROMPATH= ${PREFIX}/share/${TARGET}
SPOOLDIR= ${VARBASE}/games/${TARGET}
@@ -38,13 +37,6 @@ MAKE_FLAGS+= X11INC= X11LIB=
# Network support is broken in xmame-0.85
#MAKE_FLAGS+= XMAME_NET=1
-.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
-MAKE_FLAGS+= SOUND_ESOUND=1
-.include "../../audio/esound/buildlink3.mk"
-.endif
-
-MAME_DISP_METHOD?= x11
-
# Determine which CPU-specific code to use.
.for MARCH in alpha m68k i386 ia64 mips
MAME_CPU.${MARCH}?= ${MARCH}