svn commit: r369812 - head/mail/opendmarc

Bartek Rutkowski robak at FreeBSD.org
Thu Oct 2 11:17:15 UTC 2014


Author: robak
Date: Thu Oct  2 11:17:14 2014
New Revision: 369812
URL: https://svnweb.freebsd.org/changeset/ports/369812
QAT: https://qat.redports.org/buildarchive/r369812/

Log:
  mail/opendmarc: add SPF option
  
  PR:		192999
  Submitted by:	Daniel Austin <freebsd-ports at dan.me.uk>
  Reviewed by:	maintainer
  Approved by:	mentors (implicit)

Modified:
  head/mail/opendmarc/Makefile

Modified: head/mail/opendmarc/Makefile
==============================================================================
--- head/mail/opendmarc/Makefile	Thu Oct  2 11:10:12 2014	(r369811)
+++ head/mail/opendmarc/Makefile	Thu Oct  2 11:17:14 2014	(r369812)
@@ -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} \


More information about the svn-ports-head mailing list