aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-bogom
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 16:37:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 16:37:31 +0000
commitfbe0f96a2509487ca7747612978ff26147704584 (patch)
tree939ee3e57b75483fbe6ff8296e85ba2c7beb09f5 /mail/milter-bogom
parent8098fdb72dfdb1dfe4047e0dd934c3219a077fac (diff)
- Switch to options helpers
- Add some NO_ARCHes - Fix and unsilence some installation commands Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=396018
Diffstat (limited to 'mail/milter-bogom')
-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 3310eddfe5a9..cff96f6e77ac 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>