diff options
author | tv <tv@pkgsrc.org> | 2005-03-14 19:56:15 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-03-14 19:56:15 +0000 |
commit | c22c724077188b4c01c2f7f7019eb4b4dacb13c6 (patch) | |
tree | 83014fd519f2c752d19ed3d0327bf1c4e6a79046 /pkgtools/cdpack/Makefile | |
parent | 07dadb115825f3e6b59ef3a65463da180f45faa6 (diff) | |
download | pkgsrc-c22c724077188b4c01c2f7f7019eb4b4dacb13c6.tar.gz |
There's no need to manually format and install a nroffed manpage.
Install the source and let man(1) do it.
Diffstat (limited to 'pkgtools/cdpack/Makefile')
-rw-r--r-- | pkgtools/cdpack/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/pkgtools/cdpack/Makefile b/pkgtools/cdpack/Makefile index 395ffef9c27..fed332f303f 100644 --- a/pkgtools/cdpack/Makefile +++ b/pkgtools/cdpack/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2004/01/20 12:23:57 agc Exp $ +# $NetBSD: Makefile,v 1.17 2005/03/14 19:56:15 tv Exp $ # DISTNAME= cdpack-1.5 +PKGRECISION= 1 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -17,27 +18,15 @@ WRKSRC= ${WRKDIR} NO_CHECKSUM= 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" |