aboutsummaryrefslogtreecommitdiff
path: root/mail/postgrey
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/postgrey
parent8098fdb72dfdb1dfe4047e0dd934c3219a077fac (diff)
downloadports-fbe0f96a2509487ca7747612978ff26147704584.tar.gz
ports-fbe0f96a2509487ca7747612978ff26147704584.zip
Notes
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 77a3ad1a0edd..faaf641bd313 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -21,6 +21,7 @@ RUN_DEPENDS= p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
USE_PERL5= run
USE_RC_SUBR= ${PORTNAME}
NO_BUILD= yes
+NO_ARCH= yes
POD2MAN?= pod2man
PORTDOCS= README Changes README.exim
@@ -50,8 +51,6 @@ SHEBANG_FILES= postgrey policy-test contrib/postgreyreport
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's#nogroup#${PG_GROUP}#' \
-e 's#/etc/main.cf#/etc/postfix/main.cf#' ${WRKSRC}/postgrey
@@ -74,12 +73,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/postgrey_${i} \
${STAGEDIR}${PREFIX}/etc/postfix/postgrey_${i}.sample
.endfor
+ cd ${WRKSRC} && \
+ ${INSTALL_MAN} ${MANPAGES} ${STAGEDIR}${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
- @cd ${WRKSRC} && \
- ${INSTALL_MAN} ${MANPAGES} ${STAGEDIR}${MANPREFIX}/man/man1
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>