| @@ -1,32 +1,34 @@ | | | @@ -1,32 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.3 2023/11/12 13:21:46 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2024/05/02 13:28:43 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= xclannad-7hc | | 4 | DISTNAME= xclannad-7hc |
5 | PKGNAME= xclannad-0.07hc | | 5 | PKGNAME= xclannad-0.07hc |
6 | PKGREVISION= 2 | | 6 | PKGREVISION= 2 |
7 | CATEGORIES= games | | 7 | CATEGORIES= games |
8 | #MASTER_SITES= http://www.creator.club.ne.jp/~jagarl/ | | 8 | #MASTER_SITES= http://www.creator.club.ne.jp/~jagarl/ |
9 | MASTER_SITES= http://teokurebsd.org/netbsd/packages/distfiles/xclannad/ | | 9 | MASTER_SITES= http://teokurebsd.org/netbsd/packages/distfiles/xclannad/ |
10 | | | 10 | |
11 | MAINTAINER= tsutsui@NetBSD.org | | 11 | MAINTAINER= tsutsui@NetBSD.org |
12 | HOMEPAGE= https://web.archive.org/web/20100331135549/http://www.creator.club.ne.jp/~jagarl/xclannad.html | | 12 | HOMEPAGE= https://web.archive.org/web/20100331135549/http://www.creator.club.ne.jp/~jagarl/xclannad.html |
13 | COMMENT= Interpretor to execute REALLIVE games for Microsoft Windows | | 13 | COMMENT= Interpretor to execute REALLIVE games for Microsoft Windows |
14 | LICENSE= modified-bsd AND gnu-gpl-v2 | | 14 | LICENSE= modified-bsd AND gnu-gpl-v2 |
15 | | | 15 | |
16 | WRKSRC= ${WRKDIR}/xclannad-0.07h | | 16 | WRKSRC= ${WRKDIR}/xclannad-0.07h |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | USE_LANGUAGES= c c++03 | | 18 | USE_LANGUAGES= c c++03 |
19 | | | 19 | |
| | | 20 | CONFIGURE_ARGS+= --disable-smpegtest |
| | | 21 | |
20 | .include "../../mk/bsd.prefs.mk" | | 22 | .include "../../mk/bsd.prefs.mk" |
21 | | | 23 | |
22 | .if ${OPSYS} == "NetBSD" | | 24 | .if ${OPSYS} == "NetBSD" |
23 | CONFIGURE_ARGS+= --with-audiodev=/dev/audio | | 25 | CONFIGURE_ARGS+= --with-audiodev=/dev/audio |
24 | .endif | | 26 | .endif |
25 | | | 27 | |
26 | SUBST_CLASSES+= path | | 28 | SUBST_CLASSES+= path |
27 | SUBST_MESSAGE.path= Fixing hardcoded paths. | | 29 | SUBST_MESSAGE.path= Fixing hardcoded paths. |
28 | SUBST_STAGE.path= pre-configure | | 30 | SUBST_STAGE.path= pre-configure |
29 | SUBST_FILES.path= configure font/font_peer_ft2.cc | | 31 | SUBST_FILES.path= configure font/font_peer_ft2.cc |
30 | SUBST_SED.path= -e 's|/usr/local/|${PREFIX}/|g' | | 32 | SUBST_SED.path= -e 's|/usr/local/|${PREFIX}/|g' |
31 | SUBST_SED.path+= -e 's|/usr/pkg/|${PREFIX}/|g' | | 33 | SUBST_SED.path+= -e 's|/usr/pkg/|${PREFIX}/|g' |
32 | SUBST_SED.path+= -e 's|/usr/X11R6/|${X11BASE}/|g' | | 34 | SUBST_SED.path+= -e 's|/usr/X11R6/|${X11BASE}/|g' |