aboutsummaryrefslogtreecommitdiff
path: root/mail/opensmtpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/opensmtpd/Makefile')
-rw-r--r--mail/opensmtpd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/opensmtpd/Makefile b/mail/opensmtpd/Makefile
index e0b41e1cbee4..38f607b7e4a9 100644
--- a/mail/opensmtpd/Makefile
+++ b/mail/opensmtpd/Makefile
@@ -4,6 +4,7 @@
PORTNAME= opensmtpd
PORTVERSION= 5.9.2p1
PORTEPOCH= 1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.opensmtpd.org/archives/ \
http://distfiles.pirateparty.in/ashish/
@@ -68,7 +69,9 @@ CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
post-patch:
${REINPLACE_CMD} -e '/chmod 2555/d' ${WRKSRC}/mk/smtpctl/Makefile.in
+.if ${PORT_OPTIONS:MTABLE_DB}
post-install:
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
+.endif
.include <bsd.port.post.mk>