2012-10-03 14:55:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2012/10/03 12:55:10 asau Exp $
|
2011-12-05 02:15:25 +01:00
|
|
|
#
|
|
|
|
|
2012-04-15 17:46:53 +02:00
|
|
|
DISTNAME= cmdpack-1.03-src
|
2011-12-05 02:15:25 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= http://www.neillcorlett.com/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.neillcorlett.com/cmdpack/
|
|
|
|
COMMENT= Neill Corlett's command line tools for emulation
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin share/doc/cmdpack
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/src && \
|
2012-04-15 17:46:53 +02:00
|
|
|
for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
|
2011-12-05 02:15:25 +01:00
|
|
|
${CC} -o $$file $$file.c; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/src && \
|
2012-04-15 17:46:53 +02:00
|
|
|
for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point pecompat rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
|
2011-12-05 02:15:25 +01:00
|
|
|
${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|