Date: Sat, 6 Feb 2016 23:13:17 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408319 - head/mail/opendmarc Message-ID: <201602062313.u16NDHZN019201@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Sat Feb 6 23:13:16 2016 New Revision: 408319 URL: https://svnweb.freebsd.org/changeset/ports/408319 Log: (1) Add USES perl5 and add RUN_DEPENDS for perl modules needed by the various perl scripts installed by this port (2) Use ${PORTSDIR}/mail/sendmail/bsd.milter.mk to link against libmilter installed by the mail/sendmail port when WITH_SENDMAIL_PORT=yes is set in /etc/make.conf or the base libmilter if WITH_SENDMAIL_BASE=yes PR: 202374 (1) Submitted by: freebsd-ports@dan.me.uk (1) matthew (2) Reviewed by: pi (1) Approved by: maintainer timeout (>14days) Modified: head/mail/opendmarc/Makefile Modified: head/mail/opendmarc/Makefile ============================================================================== --- head/mail/opendmarc/Makefile Sat Feb 6 23:11:40 2016 (r408318) +++ head/mail/opendmarc/Makefile Sat Feb 6 23:13:16 2016 (r408319) @@ -3,7 +3,7 @@ PORTNAME= opendmarc PORTVERSION= 1.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases @@ -14,12 +14,16 @@ COMMENT= DMARC library and milter implem LICENSE= BSD3CLAUSE SENDMAIL LICENSE_COMB= multi +RUN_DEPENDS= p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ + p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ + p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql + 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 -USES= libtool shebangfix +USES= libtool perl5 shebangfix USE_LDCONFIG= yes USE_RC_SUBR= opendmarc @@ -42,10 +46,10 @@ SHEBANG_FILES= reports/opendmarc-expire. PORTDOCS= * -.if !exists( /usr/include/libmilter/mfapi.h ) -BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail -CFLAGS+= -I${LOCALBASE}/include -.endif +.include <bsd.port.pre.mk> + +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" +CONFIGURE_ARGS+= --with-milter=${MILTERBASE} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail @@ -53,4 +57,4 @@ post-install: ${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2 -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602062313.u16NDHZN019201>