diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-08-25 06:28:07 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-08-25 06:28:07 +0800 |
commit | 616861017699a00a481a7ea9ee8aa7a8846b7c53 (patch) | |
tree | 0fdecfe99369d8dfd0a907526c04248aa4c7b149 /www/p5-WebService-Simple | |
parent | 07ea6145d5ca48bff137aba75b4290c14c4cb982 (diff) | |
download | freebsd-ports-gnome-616861017699a00a481a7ea9ee8aa7a8846b7c53.tar.gz freebsd-ports-gnome-616861017699a00a481a7ea9ee8aa7a8846b7c53.tar.zst freebsd-ports-gnome-616861017699a00a481a7ea9ee8aa7a8846b7c53.zip |
- Update to 0.21
- Cleanup Makefile header
- Use single space after WWW:
- While I'm here:
- Add missing dependency: net/p5-URI
- Add TEST_DEPENDS
- Convert to new Perl framework
- Sort *_DEPENDS and MAN3
- Remove conditional TEST_DEPENDS:
Test::More 0.94+ is already in all supported Perl releases
Changes: http://search.cpan.org/dist/WebService-Simple/Changes
PR: ports/181487
Submitted by: TERAMOTO Masahiro <markun@onohara.to> (maintainer)
Diffstat (limited to 'www/p5-WebService-Simple')
-rw-r--r-- | www/p5-WebService-Simple/Makefile | 36 | ||||
-rw-r--r-- | www/p5-WebService-Simple/distinfo | 4 | ||||
-rw-r--r-- | www/p5-WebService-Simple/pkg-descr | 2 |
3 files changed, 18 insertions, 24 deletions
diff --git a/www/p5-WebService-Simple/Makefile b/www/p5-WebService-Simple/Makefile index f1526039f780..a432e1fc17c5 100644 --- a/www/p5-WebService-Simple/Makefile +++ b/www/p5-WebService-Simple/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: p5-WebService-Simple -# Date created: 2008-05-19 -# Whom: Masahiro Teramoto <markun@onohara.to> -# +# Created by: Masahiro Teramoto <markun@onohara.to> # $FreeBSD$ -# PORTNAME= WebService-Simple -PORTVERSION= 0.18 +PORTVERSION= 0.21 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -18,27 +14,25 @@ BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ p5-Class-Data-ConfigHash>=0:${PORTSDIR}/devel/p5-Class-Data-ConfigHash \ p5-Class-Inspector>=0:${PORTSDIR}/devel/p5-Class-Inspector \ p5-JSON>=2.0:${PORTSDIR}/converters/p5-JSON \ - p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require \ + p5-URI>=1.36:${PORTSDIR}/net/p5-URI \ + p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \ - p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML + p5-libwww>=0:${PORTSDIR}/www/p5-libwww RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-XML-Feed>=0:${PORTSDIR}/textproc/p5-XML-Feed \ + p5-XML-Parser-Lite-Tree>=0:${PORTSDIR}/textproc/p5-XML-Parser-Lite-Tree -PERL_CONFIGURE= yes +USE_PERL5= configure +USES= perl5 -MAN3= WebService::Simple::Response.3 \ +MAN3= WebService::Simple.3 \ WebService::Simple::Parser.3 \ - WebService::Simple::Parser::XML::Lite.3 \ + WebService::Simple::Parser::JSON.3 \ + WebService::Simple::Parser::XML::Feed.3 \ WebService::Simple::Parser::XML::LibXML.3 \ + WebService::Simple::Parser::XML::Lite.3 \ WebService::Simple::Parser::XML::Simple.3 \ - WebService::Simple::Parser::XML::Feed.3 \ - WebService::Simple.3 \ - WebService::Simple::Parser::JSON.3 - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 501400 -TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple -.endif + WebService::Simple::Response.3 -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/p5-WebService-Simple/distinfo b/www/p5-WebService-Simple/distinfo index 0e23d3e09fd9..f4790dc5b293 100644 --- a/www/p5-WebService-Simple/distinfo +++ b/www/p5-WebService-Simple/distinfo @@ -1,2 +1,2 @@ -SHA256 (WebService-Simple-0.18.tar.gz) = 570afe650e9dc7b6d87e3ec37961808a0ce007f5a3fea2c0188bc0af665ac81d -SIZE (WebService-Simple-0.18.tar.gz) = 26127 +SHA256 (WebService-Simple-0.21.tar.gz) = 982b39ec10afcb82633c54d6a305676ee7644070da5609c9dd6525743a192a18 +SIZE (WebService-Simple-0.21.tar.gz) = 32795 diff --git a/www/p5-WebService-Simple/pkg-descr b/www/p5-WebService-Simple/pkg-descr index 82fa502b198d..3a9113964393 100644 --- a/www/p5-WebService-Simple/pkg-descr +++ b/www/p5-WebService-Simple/pkg-descr @@ -3,4 +3,4 @@ WebService::Simple is a simple class to interact with web services. It's basically an LWP::UserAgent that remembers recurring api URLs and parameters, plus sugar to parse the results. -WWW: http://search.cpan.org/dist/WebService-Simple/ +WWW: http://search.cpan.org/dist/WebService-Simple/ |