summaryrefslogtreecommitdiff
path: root/emulators/xmame/Makefile
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/xmame/Makefile
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/xmame/Makefile')
-rw-r--r--emulators/xmame/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index aa656cc9076..4d3000fdbff 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.120 2004/11/06 21:41:52 kristerw Exp $
+# $NetBSD: Makefile,v 1.121 2004/11/08 10:03:41 xtraeme Exp $
#
DISTNAME= xmame-0.87
@@ -23,8 +23,7 @@ TARGET= ${PKGBASE}
UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= USE_ESOUND
+.include "options.mk"
ROMPATH= ${PREFIX}/share/${TARGET}
SPOOLDIR= ${VARBASE}/games/${TARGET}
@@ -37,13 +36,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}