summaryrefslogtreecommitdiff
path: root/emulators/snes9x/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-11-16 02:27:04 +0000
committerwiz <wiz@pkgsrc.org>2000-11-16 02:27:04 +0000
commit0ddf0141f43c47ae53797a3c40cb59a4b113cb5c (patch)
treef18c07a7f4f521122cb31cd066fab210e9a6f020 /emulators/snes9x/Makefile
parentb037f51443a6b7a2683b41ac3ca727f7ba257c0e (diff)
downloadpkgsrc-0ddf0141f43c47ae53797a3c40cb59a4b113cb5c.tar.gz
Update to 1.32. Changes are mainly bugfixes (see the installed CHANGES.TXT).
Package change: DGA detection, instead of hardcoding on i386.
Diffstat (limited to 'emulators/snes9x/Makefile')
-rw-r--r--emulators/snes9x/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index f284818489a..b64e807cb09 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2000/11/09 17:25:54 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2000/11/16 02:27:04 wiz Exp $
-DISTNAME= s9xs129
-PKGNAME= snes9x-1.29
+DISTNAME= s9xs132
+PKGNAME= snes9x-1.32
WRKSRC= ${WRKDIR}/release
CATEGORIES= emulators
MASTER_SITES= http://www.snes9x.com/zips/
@@ -15,9 +15,12 @@ BUILD_DEPENDS+= nasm:../../devel/nasm
USE_X11= yes
USE_GMAKE= yes
+.if exists(/usr/X11R6/lib/libXxf86dga.a)
+MAKE_ENV+= NETBSD_USE_DGA=1
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/s9xserver ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/offsets ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snes9x
${INSTALL_MAN} ${WRKSRC}/CHANGES.TXT ${PREFIX}/share/doc/snes9x
@@ -40,6 +43,4 @@ MAKE_ENV+= FILEFORMAT=elf
MAKE_ENV+= ZSNESFX=1
MAKE_ENV+= ASMCPU=1
.endif
-# XXX: this check should be redone -- DGA doesn't only exist on i386
-MAKE_ENV+= NETBSD_USE_DGA=1
.endif