| @@ -1,44 +1,44 @@ | | | @@ -1,44 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.19 2020/07/27 22:28:47 oster Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2020/08/16 08:36:18 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= opendmarc-1.3.1 | | 3 | DISTNAME= opendmarc-1.3.1 |
4 | PKGREVISION= 7 | | 4 | PKGREVISION= 8 |
5 | CATEGORIES= mail | | 5 | CATEGORIES= mail |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendmarc/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendmarc/} |
7 | | | 7 | |
8 | MAINTAINER= pettai@NetBSD.org | | 8 | MAINTAINER= pettai@NetBSD.org |
9 | HOMEPAGE= http://www.trusteddomain.org/opendmarc/ | | 9 | HOMEPAGE= http://www.trusteddomain.org/opendmarc/ |
10 | COMMENT= Open source DMARC library, MTA filter implementation and tools | | 10 | COMMENT= Open source DMARC library, MTA filter implementation and tools |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI | | 13 | DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI |
14 | DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql | | 14 | DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql |
15 | #DEPENDS+= {perl>=5.6.1,p5-File-Temp-[0-9]*}:../../devel/p5-File-Temp | | 15 | #DEPENDS+= {perl>=5.6.1,p5-File-Temp-[0-9]*}:../../devel/p5-File-Temp |
16 | DEPENDS+= p5-Switch-[0-9]*:../../lang/p5-Switch | | 16 | DEPENDS+= p5-Switch-[0-9]*:../../lang/p5-Switch |
| | | 17 | DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message |
17 | | | 18 | |
18 | RCD_SCRIPTS= opendmarc | | 19 | RCD_SCRIPTS= opendmarc |
19 | | | 20 | |
20 | USE_LIBTOOL= yes | | 21 | USE_LIBTOOL= yes |
21 | USE_TOOLS+= perl | | 22 | USE_TOOLS+= perl |
22 | | | 23 | |
23 | GNU_CONFIGURE= yes | | 24 | GNU_CONFIGURE= yes |
24 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
25 | CONFIGURE_ARGS+= --with-milter=${BUILDLINK_PREFIX.libmilter} | | 26 | CONFIGURE_ARGS+= --with-milter=${BUILDLINK_PREFIX.libmilter} |
26 | | | 27 | |
27 | REPLACE_PERL= reports/opendmarc-expire.in | | 28 | REPLACE_PERL= reports/opendmarc-expire.in |
28 | REPLACE_PERL+= reports/opendmarc-import.in | | 29 | REPLACE_PERL+= reports/opendmarc-import.in |
29 | REPLACE_PERL+= reports/opendmarc-params.in | | 30 | REPLACE_PERL+= reports/opendmarc-params.in |
30 | REPLACE_PERL+= reports/opendmarc-reports.in | | 31 | REPLACE_PERL+= reports/opendmarc-reports.in |
31 | | | 32 | |
32 | EGDIR= ${PREFIX}/share/examples/${PKGBASE} | | 33 | EGDIR= ${PREFIX}/share/examples/${PKGBASE} |
33 | | | 34 | |
34 | INSTALLATION_DIRS= ${EGDIR} | | 35 | INSTALLATION_DIRS= ${EGDIR} |
35 | | | 36 | |
36 | post-install: | | 37 | post-install: |
37 | ${INSTALL_DATA} ${WRKSRC}/opendmarc/opendmarc.conf.sample \ | | 38 | ${INSTALL_DATA} ${WRKSRC}/opendmarc/opendmarc.conf.sample \ |
38 | ${DESTDIR}${EGDIR}/ | | 39 | ${DESTDIR}${EGDIR}/ |
39 | | | 40 | |
40 | .include "../../security/openssl/buildlink3.mk" | | 41 | .include "../../security/openssl/buildlink3.mk" |
41 | BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0 | | | |
42 | .include "../../mail/libmilter/buildlink3.mk" | | 42 | .include "../../mail/libmilter/buildlink3.mk" |
43 | .include "../../mk/pthread.buildlink3.mk" | | 43 | .include "../../mk/pthread.buildlink3.mk" |
44 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |