Thu Jan 1 10:56:23 2015 UTC ()
Document ONLY_FOR_PLATFORM. In addition to some i386 assembler, this
one has a simple i386-generating dynamic recompiler... which looks
intriguingly plausible to expand on if anyone's bored and finds this
kind of thing interesting.


(dholland)
diff -r1.12 -r1.13 pkgsrc/emulators/tuxnes/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/emulators/tuxnes/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/tuxnes/Makefile 2012/10/03 12:55:19 1.12
+++ pkgsrc/emulators/tuxnes/Makefile 2015/01/01 10:56:23 1.13
@@ -1,26 +1,27 @@ @@ -1,26 +1,27 @@
1# $NetBSD: Makefile,v 1.12 2012/10/03 12:55:19 asau Exp $ 1# $NetBSD: Makefile,v 1.13 2015/01/01 10:56:23 dholland Exp $
2# 2#
3 3
4DISTNAME= tuxnes-0.75 4DISTNAME= tuxnes-0.75
5PKGREVISION= 3 5PKGREVISION= 3
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxnes/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxnes/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://tuxnes.sourceforge.net/ 10HOMEPAGE= http://tuxnes.sourceforge.net/
11COMMENT= NES emulator 11COMMENT= NES emulator
12LICENSE= gnu-gpl-v2 # or later 12LICENSE= gnu-gpl-v2 # or later
13 13
 14# Uses i386 assembler, and has an i386-targeted dynamic recompiler.
14ONLY_FOR_PLATFORM= *-*-i386 15ONLY_FOR_PLATFORM= *-*-i386
15 16
16USE_TOOLS+= gmake 17USE_TOOLS+= gmake
17GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
18 19
19SUBST_CLASSES+= dsp 20SUBST_CLASSES+= dsp
20SUBST_STAGE.dsp= post-patch 21SUBST_STAGE.dsp= post-patch
21SUBST_MESSAGE.dsp= Adjusting sound device path. 22SUBST_MESSAGE.dsp= Adjusting sound device path.
22SUBST_FILES.dsp= consts.h 23SUBST_FILES.dsp= consts.h
23SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|" 24SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
24 25
25.include "../../mk/bsd.prefs.mk" 26.include "../../mk/bsd.prefs.mk"
26.if ${OPSYS} == "SunOS" 27.if ${OPSYS} == "SunOS"