| @@ -1,32 +1,31 @@ | | | @@ -1,32 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.5 2015/03/04 05:53:52 snj Exp $ | | 1 | # $NetBSD: Makefile,v 1.6 2017/07/12 12:20:28 wiz Exp $ |
2 | # | | | |
3 | | | 2 | |
4 | DISTNAME= cmdpack-1.03-src | | 3 | DISTNAME= cmdpack-1.03-src |
5 | PKGNAME= ${DISTNAME:S/-src//} | | 4 | PKGNAME= ${DISTNAME:S/-src//} |
6 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
7 | CATEGORIES= emulators | | 6 | CATEGORIES= emulators |
8 | MASTER_SITES= http://www.neillcorlett.com/downloads/ | | 7 | MASTER_SITES= http://www.neillcorlett.com/downloads/ |
9 | | | 8 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.neillcorlett.com/cmdpack/ | | 10 | HOMEPAGE= http://www.neillcorlett.com/cmdpack/ |
12 | COMMENT= Neill Corlett's command line tools for emulation | | 11 | COMMENT= Neill Corlett's command line tools for emulation |
13 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
14 | USE_LANGUAGES= c99 | | 13 | USE_LANGUAGES= c99 |
15 | | | 14 | |
16 | INSTALLATION_DIRS= bin share/doc/cmdpack | | 15 | INSTALLATION_DIRS= bin share/doc/cmdpack |
17 | | | 16 | |
18 | do-build: | | 17 | do-build: |
19 | cd ${WRKSRC}/src && \ | | 18 | cd ${WRKSRC}/src && \ |
20 | for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \ | | 19 | for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \ |
21 | ${CC} -o $$file $$file.c; \ | | 20 | ${CC} ${CFLAGS} ${LDFLAGS} -o $$file $$file.c; \ |
22 | done | | 21 | done |
23 | ${LN} ${WRKSRC}/src/ecm ${WRKSRC}/src/unecm | | 22 | ${LN} ${WRKSRC}/src/ecm ${WRKSRC}/src/unecm |
24 | | | 23 | |
25 | do-install: | | 24 | do-install: |
26 | cd ${WRKSRC}/src && \ | | 25 | cd ${WRKSRC}/src && \ |
27 | for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips unecm usfv vb2rip wordadd zerofill; do \ | | 26 | for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips unecm usfv vb2rip wordadd zerofill; do \ |
28 | ${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \ | | 27 | ${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \ |
29 | done | | 28 | done |
30 | ${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack | | 29 | ${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack |
31 | | | 30 | |
32 | .include "../../mk/bsd.pkg.mk" | | 31 | .include "../../mk/bsd.pkg.mk" |