From f0545828db298de6563f81a25fa8687e7260df12 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 23 Feb 2014 12:20:43 +0000 Subject: [PATCH] - Update to 0.3103 - Add LICENSE - Add TEST_DEPENDS - Convert to new options framework - Simplify Makefile Changes: http://search.cpan.org/dist/XML-RSS-LibXML/Changes --- textproc/p5-XML-RSS-LibXML/Makefile | 16 ++++++++++++---- textproc/p5-XML-RSS-LibXML/distinfo | 4 ++-- textproc/p5-XML-RSS-LibXML/pkg-plist | 6 ------ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/textproc/p5-XML-RSS-LibXML/Makefile b/textproc/p5-XML-RSS-LibXML/Makefile index 89c4faf59a50..a91921c3e01e 100644 --- a/textproc/p5-XML-RSS-LibXML/Makefile +++ b/textproc/p5-XML-RSS-LibXML/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= XML-RSS-LibXML -PORTVERSION= 0.31.02 +PORTVERSION= 0.31.03 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,20 +11,28 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= XML::RSS with XML::LibXML +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ p5-DateTime-Format-Mail>=0:${PORTSDIR}/devel/p5-DateTime-Format-Mail \ p5-DateTime-Format-W3CDTF>=0:${PORTSDIR}/devel/p5-DateTime-Format-W3CDTF \ p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require \ p5-XML-LibXML>=1.66:${PORTSDIR}/textproc/p5-XML-LibXML RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn + +OPTIONS_DEFINE= EXAMPLES USES= perl5 -USE_PERL5= configure +USE_PERL5= modbuild + +PORTEXAMPLES= benchmark.pl post-install: -.if !defined(NOPORTEXAMPLES) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/tools/benchmark.pl ${STAGEDIR}${EXAMPLESDIR}/ -.endif .include diff --git a/textproc/p5-XML-RSS-LibXML/distinfo b/textproc/p5-XML-RSS-LibXML/distinfo index b92b27411546..23260400f85b 100644 --- a/textproc/p5-XML-RSS-LibXML/distinfo +++ b/textproc/p5-XML-RSS-LibXML/distinfo @@ -1,2 +1,2 @@ -SHA256 (XML-RSS-LibXML-0.3102.tar.gz) = f9b40623f074fa375d3a68524779c73c867a24229ab51ee9d6ffed5f81c526eb -SIZE (XML-RSS-LibXML-0.3102.tar.gz) = 89892 +SHA256 (XML-RSS-LibXML-0.3103.tar.gz) = e4b877670636cf12eab8a6e0187d7f642edc71b30a9763ed1a8d9071c259a624 +SIZE (XML-RSS-LibXML-0.3103.tar.gz) = 88410 diff --git a/textproc/p5-XML-RSS-LibXML/pkg-plist b/textproc/p5-XML-RSS-LibXML/pkg-plist index 72bddfac1084..8ac580a361fc 100644 --- a/textproc/p5-XML-RSS-LibXML/pkg-plist +++ b/textproc/p5-XML-RSS-LibXML/pkg-plist @@ -12,12 +12,6 @@ %%SITE_PERL%%/XML/RSS/LibXML/V0_92.pm %%SITE_PERL%%/XML/RSS/LibXML/V1_0.pm %%SITE_PERL%%/XML/RSS/LibXML/V2_0.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS/LibXML/.packlist -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/benchmark.pl -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS/LibXML -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML @dirrmtry %%SITE_PERL%%/XML/RSS/LibXML @dirrmtry %%SITE_PERL%%/XML/RSS @dirrmtry %%SITE_PERL%%/XML