From 9ea454d2d934fbfae2777f802932c9838fd1f774 Mon Sep 17 00:00:00 2001 From: Bartek Rutkowski Date: Thu, 2 Oct 2014 11:17:14 +0000 Subject: mail/opendmarc: add SPF option PR: 192999 Submitted by: Daniel Austin Reviewed by: maintainer Approved by: mentors (implicit) --- mail/opendmarc/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mail/opendmarc') 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 + +.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} \ -- cgit v1.2.3