3dd01e2422
cdpack is a small utility for creating ISO 9660 images for a multi-CD binary package collection. The utility creates ISO 9660 images for all the binary packages in a specified directory. A choice of two algorithms is available for how the packages are grouped. The "no duplication" algorithm arranges the packages so any package on CD number `n' will have all of its dependencies on CD numbers 1 through `n'. The "no inter-CD depends" algorithm will place certain packages on more than one CD to ensure that each CD is self contained (all package dependencies are satisfied within the single CD).
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 18:16:41 dmcmahill Exp $
|
|
#
|
|
|
|
DISTNAME= cdpack-1.0
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
|
HOMEPAGE= http://www.netbsd.org
|
|
COMMENT= utility to create and multi-cd binary package collections
|
|
|
|
# for mkisofs
|
|
DEPENDS+= cdrecord-*:../../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"
|