diff options
author | dmcmahill <dmcmahill> | 2005-08-01 21:47:43 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2005-08-01 21:47:43 +0000 |
commit | ed2ed699cd0384a3ae80fa1f4113320cf98db05a (patch) | |
tree | b9de2c2cbb3bdf90b974a4a08508b2177a62e64a /pkgtools/cdpack/Makefile | |
parent | 81eb73dd0b63ebd0c9ba0d37bcaae1faec64a54e (diff) | |
download | pkgsrc-ed2ed699cd0384a3ae80fa1f4113320cf98db05a.tar.gz |
update to cdpack-1.6.
- add -m, -o, and -r flags to optionally specify the machine-architecture
operating system, and os version to be displayed in the generated README
file. From Greg Woods via private email.
- White space fixes from Greg Woods.
- Clean up the generated README file as well as several of the messages
to reflect if the collection is a CD-ROM or DVD set. Some patches from
Greg Woods, more from me.
- List the tools used at runtime.
Diffstat (limited to 'pkgtools/cdpack/Makefile')
-rw-r--r-- | pkgtools/cdpack/Makefile | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/pkgtools/cdpack/Makefile b/pkgtools/cdpack/Makefile index 1958f9ef4ad..f003163b20f 100644 --- a/pkgtools/cdpack/Makefile +++ b/pkgtools/cdpack/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2005/06/17 03:50:29 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2005/08/01 21:47:43 dmcmahill Exp $ # -DISTNAME= cdpack-1.5 -PKGREVISION= 1 +DISTNAME= cdpack-1.6 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -18,17 +17,31 @@ WRKSRC= ${WRKDIR} NO_CHECKSUM= yes NO_CONFIGURE= yes +USE_TOOLS+= awk:run +USE_TOOLS+= expr:run +USE_TOOLS+= sort:run +USE_TOOLS+= tsort:run + INSTALLATION_DIRS= bin libexec man/man1 do-build: ${SED} -e 's;@prefix@;${PREFIX};g' \ - -e 's;@progver@;${PKGVERSION};g' ${FILESDIR}/cdpack.sh > \ - ${WRKDIR}/cdpack + -e 's;@progver@;${PKGVERSION};g' \ + -e 's;@AWK@;${AWK};g' \ + -e 's;@EXPR@;${EXPR};g' \ + -e 's;@SORT@;${SORT};g' \ + -e 's;@TSORT@;${TSORT};g' \ + ${FILESDIR}/cdpack.sh > \ + ${WRKSRC}/cdpack ${CHMOD} 755 ${WRKDIR}/cdpack + ${SED} -e 's;@AWK@;${AWK};g' ${FILESDIR}/cdpack.1 > \ + ${WRKSRC}/cdpack.1 + ${SED} -e 's;@AWK@;${AWK};g' ${FILESDIR}/cdgen.awk > \ + ${WRKSRC}/cdgen.awk do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cdpack ${PREFIX}/bin - ${INSTALL_SCRIPT} ${FILESDIR}/cdgen.awk ${PREFIX}/libexec - ${INSTALL_MAN} ${FILESDIR}/cdpack.1 ${PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/cdgen.awk ${PREFIX}/libexec + ${INSTALL_MAN} ${WRKSRC}/cdpack.1 ${PREFIX}/man/man1 .include "../../mk/bsd.pkg.mk" |