From 6d4515a57b648bb10357a0aad8b548fcef1a1f3f Mon Sep 17 00:00:00 2001 From: Gabor Kovesdan Date: Fri, 22 Feb 2008 21:40:33 +0000 Subject: [PATCH] - Update to 2.005 - Better adjustment of dependencies - Style PR: ports/120936 Submitted by: Felippe de Meirelles Motta Approved by: maintainer --- mail/p5-Mail-SPF/Makefile | 26 ++++++++++++-------------- mail/p5-Mail-SPF/distinfo | 6 +++--- mail/p5-Mail-SPF/pkg-plist | 1 + 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/mail/p5-Mail-SPF/Makefile b/mail/p5-Mail-SPF/Makefile index c5d8f7e3dd5a..7d2215552717 100644 --- a/mail/p5-Mail-SPF/Makefile +++ b/mail/p5-Mail-SPF/Makefile @@ -6,25 +6,24 @@ # PORTNAME= Mail-SPF -PORTVERSION= 2.004 +PORTVERSION= 2.005 CATEGORIES= mail perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Mail +MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= gmc@sonologic.nl COMMENT= Reference implementation of the RFC 4408 SPF protocol -RUN_DEPENDS= ${SITE_PERL}/Net/DNS/Resolver/Programmable.pm:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \ - ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ - ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \ - ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \ - ${SITE_PERL}/${PERL_ARCH}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= p5-Net-DNS-Resolver-Programmable>=0.002.1:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \ + p5-Net-DNS>=0.58:${PORTSDIR}/dns/p5-Net-DNS \ + p5-version>0:${PORTSDIR}/devel/p5-version \ + p5-Error>0:${PORTSDIR}/lang/p5-Error \ + p5-NetAddr-IP>=4:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \ + p5-URI>=1.13:${PORTSDIR}/net/p5-URI BUILD_DEPENDS= ${RUN_DEPENDS} -PERL_MODBUILD= yes +PERL_MODBUILD= 5.6.0+ CONFIGURE_ARGS= --install_path sbin=${PREFIX}/sbin MAN1= spfquery.1 @@ -42,13 +41,12 @@ MAN3= Mail::SPF.3 Mail::SPF::Mech::PTR.3 Mail::SPF::Mech.3 \ .include DOCSDIR= ${PREFIX}/share/doc/p5-Mail-SPF +DOCS= CHANGES INSTALL LICENSE README TODO post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for doc in CHANGES LICENSE README TODO - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor + @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif .include diff --git a/mail/p5-Mail-SPF/distinfo b/mail/p5-Mail-SPF/distinfo index 6e3f3ed6dd84..863632e1ef7a 100644 --- a/mail/p5-Mail-SPF/distinfo +++ b/mail/p5-Mail-SPF/distinfo @@ -1,3 +1,3 @@ -MD5 (Mail-SPF-2.004.tar.gz) = 0923798432e0f25dffc4bc6428abef6a -SHA256 (Mail-SPF-2.004.tar.gz) = a835227941680e223a3584e4d6056b09ab48a9b2a9d09860dab09811b5c39fa7 -SIZE (Mail-SPF-2.004.tar.gz) = 69531 +MD5 (Mail-SPF-v2.005.tar.gz) = a5129d56539edf90749afacea70621ac +SHA256 (Mail-SPF-v2.005.tar.gz) = b8ffb09c538bf4fe3b79ff45dad942879fec9c975a08243c0a59ab3e92439b8a +SIZE (Mail-SPF-v2.005.tar.gz) = 73619 diff --git a/mail/p5-Mail-SPF/pkg-plist b/mail/p5-Mail-SPF/pkg-plist index d8feeb79dee6..e9e86ada2c2e 100644 --- a/mail/p5-Mail-SPF/pkg-plist +++ b/mail/p5-Mail-SPF/pkg-plist @@ -26,6 +26,7 @@ sbin/spfd %%SITE_PERL%%/Mail/SPF/Mod/Exp.pm %%SITE_PERL%%/Mail/SPF/v2/Record.pm %%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO