summaryrefslogtreecommitdiff
path: root/emulators/cmdpack/Makefile
blob: 992a93c5eba751512f79b963e37d0a850546db41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.1.1.1 2011/12/05 01:15:25 wiz Exp $
#

DISTNAME=	cmdpack-1.02-src
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

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin share/doc/cmdpack

do-build:
	cd ${WRKSRC}/src && \
	for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
		${CC} -o $$file $$file.c; \
	done

do-install:
	cd ${WRKSRC}/src && \
	for file in bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc hax65816 id3point rels screamf subfile uips usfv vb2rip wordadd zerofill; do \
		${INSTALL_PROGRAM} $$file ${DESTDIR}${PREFIX}/bin; \
	done
	${INSTALL_DATA} ${WRKSRC}/doc/cmdpack.txt ${DESTDIR}${PREFIX}/share/doc/cmdpack

.include "../../mk/bsd.pkg.mk"