summaryrefslogtreecommitdiff
path: root/emulators/xmess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xmess/Makefile')
-rw-r--r--emulators/xmess/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 570706cd6c6..41ed7006355 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2002/12/14 15:14:26 kristerw Exp $
+# $NetBSD: Makefile,v 1.29 2002/12/21 21:35:38 kristerw Exp $
#
DISTNAME= xmame-0.62.1-rc3
PKGNAME= xmess-0.62.1
+PKGREVISION= 1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
@@ -36,6 +37,7 @@ MAKE_FLAGS+= TARGET="${TARGET:S/x//}"
MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}"
MAKE_FLAGS+= CFLAGS="${CFLAGS}"
MAKE_FLAGS+= X11INC= X11LIB=
+MAKE_FLAGS+= SOUND_ESOUND=1
MAME_DISP_METHOD?= x11
@@ -66,6 +68,9 @@ MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}"
.if exists(${X11BASE}/include/X11/extensions/xf86dga.h)
MAKE_FLAGS+= X11_DGA=1
.endif
+.if exists(${X11BASE}/include/X11/extensions/Xv.h)
+MAKE_FLAGS+= X11_XV=1
+.endif
# If supported, add appropriate definitions to build joystick drivers.
.if exists(/usr/include/machine/joystick.h) || \
@@ -100,6 +105,7 @@ do-install:
${INSTALL_DATA_DIR} ${ROMPATH}
${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
+.include "../../audio/esound/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"