pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/cdpack There's no need to manually format and...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/721ba0bd35bb
branches:  trunk
changeset: 490540:721ba0bd35bb
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 14 19:56:15 2005 +0000

description:
There's no need to manually format and install a nroffed manpage.
Install the source and let man(1) do it.

diffstat:

 pkgtools/cdpack/Makefile |  15 ++-------------
 pkgtools/cdpack/PLIST    |   3 +--
 2 files changed, 3 insertions(+), 15 deletions(-)

diffs (51 lines):

diff -r 576598e1b9ca -r 721ba0bd35bb pkgtools/cdpack/Makefile
--- a/pkgtools/cdpack/Makefile  Mon Mar 14 19:55:39 2005 +0000
+++ b/pkgtools/cdpack/Makefile  Mon Mar 14 19:56:15 2005 +0000
@@ -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 @@
 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"
diff -r 576598e1b9ca -r 721ba0bd35bb pkgtools/cdpack/PLIST
--- a/pkgtools/cdpack/PLIST     Mon Mar 14 19:55:39 2005 +0000
+++ b/pkgtools/cdpack/PLIST     Mon Mar 14 19:56:15 2005 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:18:55 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/03/14 19:56:15 tv Exp $
 bin/cdpack
 libexec/cdgen.awk
 man/man1/cdpack.1
-man/cat1/cdpack.0



Home | Main Index | Thread Index | Old Index