2013-04-26 11:19:34 +02:00
|
|
|
# Created by: gmc@sonologic.nl
|
2007-02-10 17:39:01 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Mail-SPF
|
2013-10-14 13:03:00 +02:00
|
|
|
PORTVERSION= 2.9.0
|
2014-11-26 14:08:24 +01:00
|
|
|
PORTREVISION= 2
|
2007-02-10 17:39:01 +01:00
|
|
|
CATEGORIES= mail perl5
|
2008-02-22 22:40:33 +01:00
|
|
|
MASTER_SITES= CPAN
|
2007-02-10 17:39:01 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
2008-02-22 22:40:33 +01:00
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
COMMENT= Object-oriented implementation of Sender Policy Framework
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-12-23 18:17:19 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2013-10-14 13:03:00 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= p5-Error>=0:${PORTSDIR}/lang/p5-Error \
|
|
|
|
p5-Net-DNS>=0.62:${PORTSDIR}/dns/p5-Net-DNS \
|
|
|
|
p5-Net-DNS-Resolver-Programmable>=0.003:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \
|
2008-02-22 22:40:33 +01:00
|
|
|
p5-NetAddr-IP>=4:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
|
|
|
|
p5-URI>=1.13:${PORTSDIR}/net/p5-URI
|
2013-10-14 13:03:00 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
CONFLICTS_INSTALL= p5-Mail-SPF-Query-[0-9]*
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2009-03-25 16:04:50 +01:00
|
|
|
|
2007-02-10 17:39:01 +01:00
|
|
|
CONFIGURE_ARGS= --install_path sbin=${PREFIX}/sbin
|
2013-10-14 13:03:00 +02:00
|
|
|
USE_PERL5= modbuild
|
2013-10-22 22:02:50 +02:00
|
|
|
USES= perl5 shebangfix
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/p5-Mail-SPF
|
|
|
|
PORTDOCS= CHANGES README TODO
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-10-22 22:02:50 +02:00
|
|
|
SHEBANG_FILES= bin/spfquery sbin/spfd
|
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2007-02-10 17:39:01 +01:00
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/sbin/spfd ${WRKSRC}/sbin/spfd.pl
|
|
|
|
@${MV} ${WRKSRC}/bin/spfquery ${WRKSRC}/bin/spfquery.pl
|
|
|
|
@${REINPLACE_CMD} -e 's|spfd|&.pl|; s|spfquery|&.pl|' ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST ${WRKSRC}/README
|
2013-07-23 19:43:52 +02:00
|
|
|
|
2007-02-10 17:39:01 +01:00
|
|
|
post-install:
|
2013-05-14 21:12:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-22 22:02:50 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
2007-02-10 17:39:01 +01:00
|
|
|
.endif
|
|
|
|
|
2013-10-14 13:03:00 +02:00
|
|
|
.include <bsd.port.mk>
|