1 # Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
6 CATEGORIES= mail security
8 MASTER_SITE_SUBDIR= ${PORTNAME} \
9 ${PORTNAME}/Previous%20Releases
11 MAINTAINER= freebsd@gushi.org
12 COMMENT= DMARC library and milter implementation
14 LICENSE= BSD3CLAUSE SENDMAIL
17 LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail
18 LICENSE_GROUPS_SENDMAIL= FSF OSI
19 LICENSE_NAME_SENDMAIL= Sendmail Open Source License
20 LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
22 USES= libtool shebangfix
23 SHEBANG_FILES= reports/opendmarc-expire.in \
24 reports/opendmarc-import.in \
25 reports/opendmarc-params.in \
26 reports/opendmarc-reports.in
28 USE_RC_SUBR= opendmarc
37 SPF_DESC= Include direct SPF checking support
39 SPF_BUILD_DEPENDS+= libspf2>=1.2.5:${PORTSDIR}/mail/libspf2
41 .include <bsd.port.options.mk>
43 .if ${PORT_OPTIONS:MSPF}
44 CONFIGURE_ARGS+= --with-spf --with-spf2-include=${LOCALBASE}/include/spf2 --with-spf2-lib=${LOCALBASE}/lib
48 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
50 ${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail
51 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2
53 .include <bsd.port.mk>