summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-09-12 11:20:21 +0000
committerjperkin <jperkin>2013-09-12 11:20:21 +0000
commit2661f2ca7dfb1fd099cfd6d7f5365bacf40bcf02 (patch)
tree7493209f8bee97e8ee54c6ee4a8a56850ccf16e5 /mail
parent3b872e1b92502212bb55f5258424c2b10376a67d (diff)
downloadpkgsrc-2661f2ca7dfb1fd099cfd6d7f5365bacf40bcf02.tar.gz
Install the generated catman page if requested.
Bump PKGREVISION.
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-regex/Makefile17
-rw-r--r--mail/milter-regex/PLIST3
2 files changed, 15 insertions, 5 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile
index 4e6b5c705e6..c0358c64045 100644
--- a/mail/milter-regex/Makefile
+++ b/mail/milter-regex/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2013/07/12 10:44:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.20 2013/09/12 11:20:21 jperkin Exp $
DISTNAME= milter-regex-1.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/
@@ -9,8 +9,8 @@ MAINTAINER= jdarrow@NetBSD.org
HOMEPAGE= http://www.benzedrine.cx/milter-regex.html
COMMENT= Milter enabling regular expression filtering
-USE_TOOLS+= yacc
-INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
+USE_TOOLS+= nroff yacc
+INSTALLATION_DIRS= ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 sbin
PKG_GROUPS= smmsp
PKG_USERS= smmsp:smmsp
@@ -30,6 +30,15 @@ SUBST_SED.var= -e 's|/var/spool|${VARBASE}|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${DESTDIR}${PREFIX}/sbin
+.if !empty(MANINSTALL:Mcatinstall)
+. if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
+ ${INSTALL_DATA} ${WRKSRC}/milter-regex.cat8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/milter-regex.8
+. else
+ ${INSTALL_DATA} ${WRKSRC}/milter-regex.cat8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/milter-regex.0
+. endif
+.endif
${INSTALL_DATA} ${WRKSRC}/milter-regex.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
diff --git a/mail/milter-regex/PLIST b/mail/milter-regex/PLIST
index 16cdbe57b3c..1f7ea69d8af 100644
--- a/mail/milter-regex/PLIST
+++ b/mail/milter-regex/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2006/03/08 22:01:21 tron Exp $
+@comment $NetBSD: PLIST,v 1.4 2013/09/12 11:20:21 jperkin Exp $
sbin/milter-regex
+man/cat8/milter-regex.0
man/man8/milter-regex.8
share/examples/rc.d/milter-regex