aboutsummaryrefslogtreecommitdiff
path: root/mail/opendmarc
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2014-10-02 11:17:14 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2014-10-02 11:17:14 +0000
commit9ea454d2d934fbfae2777f802932c9838fd1f774 (patch)
tree7f9d60f0937388707286f871608eb489b60fe8a6 /mail/opendmarc
parent2873a447485feab2df68eca358abefe351c07c4c (diff)
downloadports-9ea454d2d934fbfae2777f802932c9838fd1f774.tar.gz
ports-9ea454d2d934fbfae2777f802932c9838fd1f774.zip
Notes
Diffstat (limited to 'mail/opendmarc')
-rw-r--r--mail/opendmarc/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile
index 933d6cc826ab..4cdce3f5820c 100644
--- a/mail/opendmarc/Makefile
+++ b/mail/opendmarc/Makefile
@@ -3,6 +3,7 @@
PORTNAME= opendmarc
PORTVERSION= 1.3.0
+PORTREVISION= 1
CATEGORIES= mail security
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME} \
@@ -32,6 +33,18 @@ GNU_CONFIGURE= yes
PORTDOCS= *
+OPTIONS_DEFINE= SPF
+OPTIONS_DEFAULT= SPF
+SPF_DESC= Include direct SPF checking support
+
+SPF_BUILD_DEPENDS+= libspf2>=1.2.5:${PORTSDIR}/mail/libspf2
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSPF}
+CONFIGURE_ARGS+= --with-spf --with-spf2-include=${LOCALBASE}/include/spf2 --with-spf2-lib=${LOCALBASE}/lib
+.endif
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
${INSTALL_DATA} \