From 17f54fd97b5c13186a244710dbe01cff9852aa81 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 14 Mar 2005 19:52:16 +0000 Subject: There's no need to manually format and install a nroffed manpage. Install the source and let man(1) do it. --- mail/smtpfeed/Makefile | 14 ++------------ mail/smtpfeed/PLIST | 3 +-- 2 files changed, 3 insertions(+), 14 deletions(-) (limited to 'mail/smtpfeed') diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile index cfb7c4625fc..b261269e2cf 100644 --- a/mail/smtpfeed/Makefile +++ b/mail/smtpfeed/Makefile @@ -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 @@ BUILD_DEFS+= USE_INET6 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 --git a/mail/smtpfeed/PLIST b/mail/smtpfeed/PLIST index 473251cbb85..c01d5343d42 100644 --- a/mail/smtpfeed/PLIST +++ b/mail/smtpfeed/PLIST @@ -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 -- cgit v1.2.3