blob: 114c2b74a2fe4ba19947c6af09078e0df2dfc347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
PORTNAME= opendmarc
PORTVERSION= 1.4.2
PORTREVISION= 1
CATEGORIES= mail security
MASTER_SITES= GH
MAINTAINER= freebsd@gushi.org
COMMENT= DMARC library and milter implementation
WWW= http://www.trusteddomain.org/opendmarc.html
LICENSE= BSD3CLAUSE SENDMAIL
LICENSE_COMB= multi
RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \
p5-DBI>=0:databases/p5-DBI \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
p5-HTTP-Message>=0:www/p5-HTTP-Message
USES= cpe libtool perl5 shebangfix autoreconf
LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail
LICENSE_GROUPS_SENDMAIL= FSF OSI
LICENSE_NAME_SENDMAIL= Sendmail Open Source License
LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
CPE_VENDOR= trusteddomain
USE_LDCONFIG= yes
USE_RC_SUBR= opendmarc
USE_GITHUB= yes
GH_ACCOUNT= trusteddomainproject
GH_TAGNAME= rel-opendmarc-1-4-2
GH_PROJECT= OpenDMARC
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
OPTIONS_DEFINE= SPF DOCS
OPTIONS_DEFAULT= SPF
SPF_DESC= Enable support for SPF record checking
SPF_LIB_DEPENDS= libspf2.so:mail/libspf2
SPF_CONFIGURE_ON= --with-spf \
--with-spf2-include=${LOCALBASE}/include/spf2 \
--with-spf2-lib=${LOCALBASE}/lib
SHEBANG_FILES= reports/opendmarc-expire.in \
reports/opendmarc-import.in \
reports/opendmarc-params.in \
reports/opendmarc-reports.in
PORTDOCS= *
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
CONFIGURE_ARGS+= --with-milter=${MILTERBASE}
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
${INSTALL_DATA} \
${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2
.include <bsd.port.post.mk>
|