pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gpg2dot There's no need to manually format an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1dcba08c1c1c
branches:  trunk
changeset: 490543:1dcba08c1c1c
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 14 20:23:50 2005 +0000

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

(Since this code is actually all commented out, no PKGREVISION bump.)

diffstat:

 security/gpg2dot/Makefile |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (39 lines):

diff -r da142314b9ce -r 1dcba08c1c1c security/gpg2dot/Makefile
--- a/security/gpg2dot/Makefile Mon Mar 14 20:18:40 2005 +0000
+++ b/security/gpg2dot/Makefile Mon Mar 14 20:23:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/03/03 22:43:49 agc Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/14 20:23:50 tv Exp $
 #
 
 DISTNAME=      gpg2dot-1.4
@@ -20,16 +20,6 @@
 DISTVER=       ${DISTNAME:S/gpg2dot-//}
 WRKSRC=                ${WRKDIR}
 
-.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-extract:
        ${CP} ${FILESDIR}/gpg2dot.pl ${WRKSRC}/gpg2dot.pl
 #      ${CP} ${FILESDIR}/gpg2dot.1 ${WRKSRC}/gpg2dot.1.in
@@ -45,12 +35,10 @@
 #      ${SED} -e ''                                    \
 #              < ${WRKSRC}/${FILE}.1.in                \
 #              > ${WRKSRC}/${FILE}.1
-#      ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
 #.endfor
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/gpg2dot ${PREFIX}/bin/gpg2dot
-#      ${INSTALL_MAN} ${WRKSRC}/gpg2dot.0 ${PREFIX}/man/cat1
 #      ${INSTALL_MAN} ${WRKSRC}/gpg2dot.1 ${PREFIX}/man/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index