blob: b5e1208cca9e8f4701205150e8779157d4b28db2 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.6 2001/09/27 23:18:35 jlam Exp $
#
DISTNAME= cdpack-1.3
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.netbsd.org
COMMENT= utility to create multi-cd binary package collections
# for mkisofs
DEPENDS+= cdrecord-[0-9]*:../../sysutils/cdrecord
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_PATCH= yes
NO_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
# This doesn't create readable manual pages. "mandoc" should be added
# to zoularis.
NROFF= nroff -man
.else
NROFF= nroff -mandoc
.endif
do-build:
${SED} -e 's;@prefix@;${PREFIX};g' \
-e 's;@progver@;${PKGVERSION};g' ${FILESDIR}/cdpack.sh > \
${WRKDIR}/cdpack
${CHMOD} 755 ${WRKDIR}/cdpack
${NROFF} ${FILESDIR}/cdpack.1 > ${WRKSRC}/cdpack.0
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cdpack ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/cdgen.awk ${PREFIX}/libexec
${INSTALL_MAN} ${FILESDIR}/cdpack.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdpack.0 ${PREFIX}/man/cat1
.include "../../mk/bsd.pkg.mk"
|