| @@ -1,36 +1,38 @@ | | | @@ -1,36 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.52 2015/01/01 10:03:57 dholland Exp $ | | 1 | # $NetBSD: Makefile,v 1.53 2015/03/31 15:27:06 joerg Exp $ |
2 | | | 2 | |
3 | SNESVER= 1.43 | | 3 | SNESVER= 1.43 |
4 | DISTNAME= snes9x-${SNESVER}-src | | 4 | DISTNAME= snes9x-${SNESVER}-src |
5 | PKGNAME= snes9x-${SNESVER} | | 5 | PKGNAME= snes9x-${SNESVER} |
6 | CATEGORIES= emulators | | 6 | CATEGORIES= emulators |
7 | MASTER_SITES= http://www.lysator.liu.se/snes9x/${SNESVER}/ \ | | 7 | MASTER_SITES= http://www.lysator.liu.se/snes9x/${SNESVER}/ \ |
8 | http://files.ipherswipsite.com/snes9x/ | | 8 | http://files.ipherswipsite.com/snes9x/ |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.snes9x.com/ | | 11 | HOMEPAGE= http://www.snes9x.com/ |
12 | COMMENT= Super Nintendo Entertainment System (SNES) emulator | | 12 | COMMENT= Super Nintendo Entertainment System (SNES) emulator |
13 | | | 13 | |
14 | BROKEN_ON_PLATFORM= ${LP64PLATFORMS} | | 14 | BROKEN_ON_PLATFORM= ${LP64PLATFORMS} |
15 | MAKE_JOBS_SAFE= no | | 15 | MAKE_JOBS_SAFE= no |
16 | | | 16 | |
17 | WRKSRC= ${WRKDIR}/${DISTNAME}/snes9x | | 17 | WRKSRC= ${WRKDIR}/${DISTNAME}/snes9x |
18 | USE_LANGUAGES= c c++ | | 18 | USE_LANGUAGES= c c++ |
19 | USE_TOOLS+= gmake | | 19 | USE_TOOLS+= gmake |
20 | PTHREAD_OPTS+= require | | 20 | PTHREAD_OPTS+= require |
21 | INSTALLATION_DIRS= bin | | 21 | INSTALLATION_DIRS= bin |
22 | GNU_CONFIGURE= YES | | 22 | GNU_CONFIGURE= YES |
23 | | | 23 | |
| | | 24 | CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include |
| | | 25 | |
24 | SUBST_CLASSES+= nodos | | 26 | SUBST_CLASSES+= nodos |
25 | SUBST_STAGE.nodos= pre-patch | | 27 | SUBST_STAGE.nodos= pre-patch |
26 | SUBST_FILES.nodos= ../language.h | | 28 | SUBST_FILES.nodos= ../language.h |
27 | SUBST_FILES.nodos+= ../readme.txt dsp1.h dsp3emu.cpp dsp4emu.cpp | | 29 | SUBST_FILES.nodos+= ../readme.txt dsp1.h dsp3emu.cpp dsp4emu.cpp |
28 | SUBST_FILTER_CMD.nodos= env -i ${TR} -d '\r' | | 30 | SUBST_FILTER_CMD.nodos= env -i ${TR} -d '\r' |
29 | | | 31 | |
30 | SUBST_CLASSES+= paircpp | | 32 | SUBST_CLASSES+= paircpp |
31 | SUBST_STAGE.paircpp= pre-patch | | 33 | SUBST_STAGE.paircpp= pre-patch |
32 | SUBST_FILES.paircpp= 65c816.h sa1.h | | 34 | SUBST_FILES.paircpp= 65c816.h sa1.h |
33 | SUBST_SED.paircpp= -e 's|pair|snes9x_pair|g' | | 35 | SUBST_SED.paircpp= -e 's|pair|snes9x_pair|g' |
34 | | | 36 | |
35 | do-install: | | 37 | do-install: |
36 | ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${DESTDIR}${PREFIX}/bin | | 38 | ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${DESTDIR}${PREFIX}/bin |