summaryrefslogtreecommitdiffstats
path: root/mail/p3scan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p3scan/Makefile')
-rw-r--r--mail/p3scan/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/p3scan/Makefile b/mail/p3scan/Makefile
index a513f0e..44b7670 100644
--- a/mail/p3scan/Makefile
+++ b/mail/p3scan/Makefile
@@ -7,7 +7,7 @@
PORTNAME= p3scan
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,6 +26,9 @@ OPTIONS= UVSCAN "Use UVSCAN" on
PORTDOCS= AUTHORS CHANGELOG LICENSE NEWS README
+MAN8= p3scan.8 p3scan_readme.8
+MANCOMPRESSED= yes
+
.include <bsd.port.pre.mk>
.if defined(WITH_UVSCAN) && ${WITH_UVSCAN:L} == "true"
@@ -37,7 +40,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/p3scan.conf ${PREFIX}/etc/p3scan.conf.sample
${INSTALL_DATA} ${WRKSRC}/p3scan.mail ${PREFIX}/etc/p3scan.mail.sample
${INSTALL_SCRIPT} ${FILESDIR}/p3scan.sh ${PREFIX}/etc/rc.d/
+.for f in ${MAN8}
+ ${INSTALL_MAN} ${WRKSRC}/${f}.gz ${MAN8PREFIX}/man/man8/
+.endfor
.ifndef (NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
OpenPOWER on IntegriCloud