| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.19 2023/08/02 16:17:15 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2023/08/06 09:49:27 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= pt2-clone-1.49 | | 3 | DISTNAME= pt2-clone-1.49 |
4 | PKGREVISION= 3 | | 4 | PKGREVISION= 3 |
5 | CATEGORIES= audio | | 5 | CATEGORIES= audio |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=8bitbubsy/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=8bitbubsy/} |
7 | GITHUB_PROJECT= pt2-clone | | 7 | GITHUB_PROJECT= pt2-clone |
8 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 8 | GITHUB_TAG= v${PKGVERSION_NOREV} |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://github.com/8bitbubsy/pt2-clone/ | | 11 | HOMEPAGE= https://github.com/8bitbubsy/pt2-clone/ |
12 | COMMENT= ProTracker 2 clone | | 12 | COMMENT= ProTracker 2 clone |
13 | LICENSE= modified-bsd | | 13 | LICENSE= modified-bsd |
14 | | | 14 | |
15 | USE_CMAKE= yes | | 15 | USE_CMAKE= yes |
16 | | | 16 | |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | | | 18 | |
19 | # error: 'for' loop initial declarations are only allowed in C99 mode | | 19 | # error: 'for' loop initial declarations are only allowed in C99 mode |
20 | FORCE_C_STD= c99 | | 20 | # gnu99 needed to get PATH_MAX definition on certain platforms |
| | | 21 | FORCE_C_STD= gnu99 |
21 | | | 22 | |
22 | INSTALLATION_DIRS+= share/applications | | 23 | INSTALLATION_DIRS+= share/applications |
23 | INSTALLATION_DIRS+= share/doc/${PKGBASE} | | 24 | INSTALLATION_DIRS+= share/doc/${PKGBASE} |
24 | INSTALLATION_DIRS+= share/examples/${PKGBASE} | | 25 | INSTALLATION_DIRS+= share/examples/${PKGBASE} |
25 | INSTALLATION_DIRS+= share/pixmaps | | 26 | INSTALLATION_DIRS+= share/pixmaps |
26 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | | 27 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 |
27 | | | 28 | |
28 | post-install: | | 29 | post-install: |
29 | cd ${WRKSRC} && ${INSTALL_DATA} release/other/protracker.ini \ | | 30 | cd ${WRKSRC} && ${INSTALL_DATA} release/other/protracker.ini \ |
30 | ${DESTDIR}${PREFIX}/share/examples/pt2-clone/protracker.ini | | 31 | ${DESTDIR}${PREFIX}/share/examples/pt2-clone/protracker.ini |
31 | cd ${WRKSRC}/release && ${INSTALL_DATA} *.txt \ | | 32 | cd ${WRKSRC}/release && ${INSTALL_DATA} *.txt \ |
32 | ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} | | 33 | ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} |
33 | cd ${WRKSRC}/release/other && ${INSTALL_DATA} \ | | 34 | cd ${WRKSRC}/release/other && ${INSTALL_DATA} \ |