1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-08-24 22:28:07 +00:00
parent c9e48a1553
commit ea71f0a446
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325318
3 changed files with 19 additions and 25 deletions

View File

@ -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::XML::LibXML.3 \
WebService::Simple::Parser::XML::Simple.3 \
WebService::Simple::Parser::JSON.3 \
WebService::Simple::Parser::XML::Feed.3 \
WebService::Simple.3 \
WebService::Simple::Parser::JSON.3
WebService::Simple::Parser::XML::LibXML.3 \
WebService::Simple::Parser::XML::Lite.3 \
WebService::Simple::Parser::XML::Simple.3 \
WebService::Simple::Response.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -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

View File

@ -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/