summaryrefslogtreecommitdiffstats
path: root/mail/milter-bogom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/milter-bogom/Makefile')
-rw-r--r--mail/milter-bogom/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/milter-bogom/Makefile b/mail/milter-bogom/Makefile
index 3310edd..cff96f6 100644
--- a/mail/milter-bogom/Makefile
+++ b/mail/milter-bogom/Makefile
@@ -34,8 +34,6 @@ PORTDOCS= README CHANGELOG
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/bogom.8
${REINPLACE_CMD} -e \
@@ -48,11 +46,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bogom ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/bogom.8 ${STAGEDIR}${PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/bogom.conf-example ${STAGEDIR}${PREFIX}/etc/
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud