pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/smtpfeed There's no need to manually format and i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2160a39cafe8
branches:  trunk
changeset: 490538:2160a39cafe8
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 14 19:52:16 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:

 mail/smtpfeed/Makefile |  14 ++------------
 mail/smtpfeed/PLIST    |   3 +--
 2 files changed, 3 insertions(+), 14 deletions(-)

diffs (46 lines):

diff -r 86e41e305fab -r 2160a39cafe8 mail/smtpfeed/Makefile
--- a/mail/smtpfeed/Makefile    Mon Mar 14 19:48:52 2005 +0000
+++ b/mail/smtpfeed/Makefile    Mon Mar 14 19:52:16 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2002/03/19 13:23:26 taca Exp $
+# $NetBSD: Makefile,v 1.22 2005/03/14 19:52:16 tv Exp $
 # Based on FreeBSD Id: Makefile,v 1.27 1999/04/03 08:25:18 itojun Exp
 #
 
 DISTNAME=      smtpfeed-1.18
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/ \
                ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ \
@@ -35,19 +36,8 @@
 CONFIGURE_ARGS+=--enable-ipv6
 .endif
 
-.if (${OPSYS} == SunOS)
-NROFF?=                nroff -man
-.else
-NROFF?=                nroff -mandoc
-.endif
-
-post-build:
-       cd ${WRKSRC} && \
-       ${NROFF} smtpfeed.8 > smtpfeed.cat8
-
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/man/man8
-       ${INSTALL_MAN} ${WRKSRC}/smtpfeed.cat8 ${PREFIX}/man/cat8/smtpfeed.0
        ${INSTALL_DATA_DIR} ${DOCDIR}
        for i in ${DOCS}; do \
                ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
diff -r 86e41e305fab -r 2160a39cafe8 mail/smtpfeed/PLIST
--- a/mail/smtpfeed/PLIST       Mon Mar 14 19:48:52 2005 +0000
+++ b/mail/smtpfeed/PLIST       Mon Mar 14 19:52:16 2005 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2002/01/22 06:30:45 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/03/14 19:52:16 tv Exp $
 libexec/smtpfeed
 man/man8/smtpfeed.8
-man/cat8/smtpfeed.0
 share/doc/smtpfeed/COPYRIGHT
 share/doc/smtpfeed/FEATURES
 share/doc/smtpfeed/FEATURES.j



Home | Main Index | Thread Index | Old Index