1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Fix *_DEPENDS: add missing and remove wrong entries

- Pet portlint
- Add TEST_DEPENDS
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-12-18 09:01:24 +00:00
parent 26e2fab50f
commit 8ad1c266ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287575

View File

@ -7,6 +7,7 @@
PORTNAME= Net-Twitter
PORTVERSION= 3.18001
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -17,17 +18,27 @@ COMMENT= Perl interface to twitter.com
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Data/Visitor/Callback.pm:${PORTSDIR}/devel/p5-Data-Visitor \
${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
${SITE_PERL}/MooseX/AttributeHelpers.pm:${PORTSDIR}/devel/p5-MooseX-AttributeHelpers \
${SITE_PERL}/MooseX/MultiInitArg.pm:${PORTSDIR}/devel/p5-MooseX-MultiInitArg \
${SITE_PERL}/MooseX/Traits.pm:${PORTSDIR}/devel/p5-MooseX-Traits \
${SITE_PERL}/namespace/autoclean.pm:${PORTSDIR}/devel/p5-namespace-autoclean \
${SITE_PERL}/Net/OAuth/Simple.pm:${PORTSDIR}/net/p5-Net-OAuth-Simple \
${SITE_PERL}/JSON.pm:${PORTSDIR}/converters/p5-JSON \
${SITE_PERL}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace
BUILD_DEPENDS= ${RUN_DEPENDS}
BUILD_DEPENDS= p5-Crypt-SSLeay>=0.50:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-Data-Visitor>=0:${PORTSDIR}/devel/p5-Data-Visitor \
p5-DateTime>=0.51:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Strptime>=1.09:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
p5-Devel-StackTrace>=1.21:${PORTSDIR}/devel/p5-Devel-StackTrace \
p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
p5-Moose>=0.9:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Aliases>=0:${PORTSDIR}/devel/p5-MooseX-Aliases \
p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \
p5-Net-OAuth>=0.25:${PORTSDIR}/net/p5-Net-OAuth \
p5-Try-Tiny>=0.03:${PORTSDIR}/lang/p5-Try-Tiny \
p5-URI>=1.40:${PORTSDIR}/net/p5-URI \
p5-libwww>=2.032:${PORTSDIR}/www/p5-libwww \
p5-namespace-autoclean>=0.09:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
PERL_CONFIGURE= yes
@ -51,7 +62,7 @@ MAN3= Net::Twitter.3 Net::Twitter::Search.3 Net::Identica.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif
.include <bsd.port.post.mk>