From b59621d3ae883bef429a8fae6073bfa293a55222 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Tue, 13 Mar 2012 16:15:36 +0000 Subject: - Revert ports/165605 as requested by portmgr@ Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so) --- www/p5-Apache-ASP/Makefile | 8 +++++++- www/p5-Blog-Spam/Makefile | 8 +++++++- www/p5-Business-PayPal/Makefile | 10 ++++++++-- www/p5-CGI-Application-Dispatch/Makefile | 9 ++++++++- www/p5-CGI-Compress-Gzip/Makefile | 9 ++++++++- www/p5-CGI-SpeedyCGI/Makefile | 2 ++ www/p5-CSS-DOM/Makefile | 8 +++++++- www/p5-Catalyst-Action-REST/Makefile | 8 +++++++- www/p5-Catalyst-Authentication-Credential-OpenID/Makefile | 9 ++++++++- www/p5-Catalyst-Devel/Makefile | 8 +++++++- www/p5-Catalyst-Model-DBIC-Schema/Makefile | 8 +++++++- www/p5-Catalyst-Model-Memcached/Makefile | 2 +- www/p5-Catalyst-Plugin-Authentication/Makefile | 8 +++++++- www/p5-Catalyst-Plugin-Session-FastMmap/Makefile | 3 +++ www/p5-Catalyst-Plugin-Static/Makefile | 3 +++ www/p5-Catalyst-Plugin-Unicode-Encoding/Makefile | 8 +++++++- www/p5-Catalyst-Runtime/Makefile | 9 ++++++++- www/p5-Catalyst-View-Email/Makefile | 9 ++++++++- www/p5-Catalyst-View-Mason/Makefile | 9 ++++++++- www/p5-FCGI-Client/Makefile | 13 ++++++++++--- www/p5-FCGI-Engine/Makefile | 8 +++++++- www/p5-FEAR-API/Makefile | 8 +++++++- www/p5-Feersum/Makefile | 13 ++++++++++++- www/p5-HTTP-Body/Makefile | 8 +++++++- www/p5-HTTP-Cache-Transparent/Makefile | 8 +++++++- www/p5-HTTP-Message/Makefile | 14 +++++++++++++- www/p5-HTTP-Response-Encoding/Makefile | 8 +++++++- www/p5-Jifty/Makefile | 8 +++++++- www/p5-LWP-Authen-Wsse/Makefile | 8 +++++++- www/p5-Markup-Perl/Makefile | 8 +++++++- www/p5-MojoMojo/Makefile | 9 ++++++++- www/p5-Mojolicious-Plugin-Database/Makefile | 8 +++++++- www/p5-Mojolicious-Plugin-Mongodb/Makefile | 8 +++++++- www/p5-Mojolicious/Makefile | 2 +- www/p5-Net-FreshBooks-API/Makefile | 4 ++++ www/p5-Perlanet/Makefile | 8 +++++++- www/p5-Plack-Middleware-Expires/Makefile | 8 +++++++- www/p5-Plack-Middleware-XForwardedFor/Makefile | 9 ++++++++- www/p5-Plack-Test-ExternalServer/Makefile | 8 +++++++- www/p5-Pod-Site/Makefile | 13 ++++++++++++- www/p5-Router-Simple/Makefile | 10 +++++++++- www/p5-Tatsumaki/Makefile | 8 +++++++- www/p5-URI-Fetch/Makefile | 10 ++++++++-- www/p5-URI-Title/Makefile | 13 ++++++++++--- www/p5-WWW-AtMovies-TV/Makefile | 10 ++++++++-- www/p5-WWW-Baseball-NPB/Makefile | 8 +++++++- www/p5-WWW-Contact/Makefile | 8 +++++++- www/p5-WWW-Facebook-API/Makefile | 8 +++++++- www/p5-WWW-Mechanize-GZip/Makefile | 9 ++++++++- www/p5-WWW-Mechanize-Pluggable/Makefile | 8 +++++++- www/p5-WWW-Mechanize-Shell/Makefile | 9 ++++++++- www/p5-WWW-Plurk/Makefile | 10 ++++++++-- www/p5-WWW-iTunesConnect/Makefile | 10 ++++++++-- 53 files changed, 382 insertions(+), 58 deletions(-) (limited to 'www') diff --git a/www/p5-Apache-ASP/Makefile b/www/p5-Apache-ASP/Makefile index 0a173867ef60..28cebed200b0 100644 --- a/www/p5-Apache-ASP/Makefile +++ b/www/p5-Apache-ASP/Makefile @@ -42,4 +42,10 @@ MAN3= Apache::ASP.3 \ Bundle::Apache::ASP.3 \ Bundle::Apache::ASP::Extra.3 -.include +.include + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include diff --git a/www/p5-Blog-Spam/Makefile b/www/p5-Blog-Spam/Makefile index c0457b2f8b2e..f44f38355959 100644 --- a/www/p5-Blog-Spam/Makefile +++ b/www/p5-Blog-Spam/Makefile @@ -49,4 +49,10 @@ MAN3= Blog::Spam::API.3 \ Blog::Spam::Plugin::wordcount.3 \ Blog::Spam::Server.3 -.include +.include + +.if ${PERL_LEVEL} < 500809 +RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include diff --git a/www/p5-Business-PayPal/Makefile b/www/p5-Business-PayPal/Makefile index ebdbfaf2e29c..40654d09c3ee 100644 --- a/www/p5-Business-PayPal/Makefile +++ b/www/p5-Business-PayPal/Makefile @@ -17,10 +17,16 @@ COMMENT= Perl extension for automating PayPal transactions RUN_DEPENDS= p5-Net-SSLeay>=1.35:${PORTSDIR}/security/p5-Net-SSLeay \ p5-CGI.pm>=3.49:${PORTSDIR}/www/p5-CGI.pm -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN3= Business::PayPal.3 -.include +.include + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.include diff --git a/www/p5-CGI-Application-Dispatch/Makefile b/www/p5-CGI-Application-Dispatch/Makefile index 643aa48d9dca..992f8f07fcd3 100644 --- a/www/p5-CGI-Application-Dispatch/Makefile +++ b/www/p5-CGI-Application-Dispatch/Makefile @@ -33,4 +33,11 @@ MAN3= CGI::Application::Dispatch.3 \ CGI::Application::Dispatch::PSGI.3 \ CGI::Application::Dispatch::Regexp.3 -.include +.include + +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/www/p5-CGI-Compress-Gzip/Makefile b/www/p5-CGI-Compress-Gzip/Makefile index 67982f713d9d..67fb61f72379 100644 --- a/www/p5-CGI-Compress-Gzip/Makefile +++ b/www/p5-CGI-Compress-Gzip/Makefile @@ -24,4 +24,11 @@ PERL_MODBUILD= yes MAN3= CGI::Compress::Gzip.3 \ CGI::Compress::Gzip::FileHandle.3 -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index fc4494a88629..36bdd59824c2 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -36,8 +36,10 @@ post-patch: @${PERL} -pi -e 's,APXS=apxs,APXS=${APXS},;' \ ${WRKSRC}/mod_speedycgi/Makefile.tmpl ${CP} ${FILESDIR}/speedy_dump.c ${WRKSRC}/speedy_dump/ +.if ${PERL_LEVEL} >= 501000 @${REINPLACE_CMD} -i '' -e 's=New(123,=Newx(=g' \ ${WRKSRC}/src/speedy_backend_main.h +.endif post-configure: @${PERL} -pi -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g;' \ diff --git a/www/p5-CSS-DOM/Makefile b/www/p5-CSS-DOM/Makefile index 9c16e9ce27e6..5ac6652d8244 100644 --- a/www/p5-CSS-DOM/Makefile +++ b/www/p5-CSS-DOM/Makefile @@ -43,4 +43,10 @@ MAN3= CSS::DOM.3 \ CSS::DOM::Value::List.3 \ CSS::DOM::Value::Primitive.3 \ -.include +.include + +.if ${PERL_LEVEL} < 500807 +RUN_DEPENDS+= p5-Encode>=2.1:${PORTSDIR}/converters/p5-Encode +.endif + +.include diff --git a/www/p5-Catalyst-Action-REST/Makefile b/www/p5-Catalyst-Action-REST/Makefile index 7872ce37849d..b7af70d17c8a 100644 --- a/www/p5-Catalyst-Action-REST/Makefile +++ b/www/p5-Catalyst-Action-REST/Makefile @@ -48,4 +48,10 @@ MAN3= Catalyst::Action::Deserialize.3 \ Catalyst::TraitFor::Request::REST.3 \ Catalyst::TraitFor::Request::REST::ForBrowsers.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Catalyst-Authentication-Credential-OpenID/Makefile b/www/p5-Catalyst-Authentication-Credential-OpenID/Makefile index 42a8384f175b..08b8dfcbb6fb 100644 --- a/www/p5-Catalyst-Authentication-Credential-OpenID/Makefile +++ b/www/p5-Catalyst-Authentication-Credential-OpenID/Makefile @@ -30,4 +30,11 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Authentication::Credential::OpenID.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-Catalyst-Devel/Makefile b/www/p5-Catalyst-Devel/Makefile index 41e7147e8a35..d8b392820f58 100644 --- a/www/p5-Catalyst-Devel/Makefile +++ b/www/p5-Catalyst-Devel/Makefile @@ -42,4 +42,10 @@ MAN3= Catalyst::Devel.3 \ Catalyst::Restarter::Win32.3 \ Module::Install::Catalyst.3 -.include +.include + +.if ${PERL_LEVEL} < 501200 +TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Catalyst-Model-DBIC-Schema/Makefile b/www/p5-Catalyst-Model-DBIC-Schema/Makefile index f4316eb1a237..dfd5476ed698 100644 --- a/www/p5-Catalyst-Model-DBIC-Schema/Makefile +++ b/www/p5-Catalyst-Model-DBIC-Schema/Makefile @@ -50,4 +50,10 @@ MAN3= Catalyst::Helper::Model::DBIC::Schema.3 \ post-extract: @${PERL} -i.bak -ne 'print unless m,^feature, .. m,;$$,' ${WRKSRC}/Makefile.PL -.include +.include + +.if ${PERL_LEVEL} < 501200 +TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Catalyst-Model-Memcached/Makefile b/www/p5-Catalyst-Model-Memcached/Makefile index 2a740b2a56dd..70fd940e2d87 100644 --- a/www/p5-Catalyst-Model-Memcached/Makefile +++ b/www/p5-Catalyst-Model-Memcached/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= p5-Cache-Memcached-Fast>=0.17:${PORTSDIR}/databases/p5-Cache-Memcac p5-Catalyst-Runtime>=5.8:${PORTSDIR}/www/p5-Catalyst-Runtime BUILD_DEPENDS= ${RUN_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.10.0+ MAN3= Catalyst::Model::Memcached.3 diff --git a/www/p5-Catalyst-Plugin-Authentication/Makefile b/www/p5-Catalyst-Plugin-Authentication/Makefile index 66f738f18b20..14e776052d37 100644 --- a/www/p5-Catalyst-Plugin-Authentication/Makefile +++ b/www/p5-Catalyst-Plugin-Authentication/Makefile @@ -50,4 +50,10 @@ MAN3= Catalyst::Authentication::Credential::Password.3 \ Catalyst::Plugin::Authentication::User.3 \ Catalyst::Plugin::Authentication::User::Hash.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Catalyst-Plugin-Session-FastMmap/Makefile b/www/p5-Catalyst-Plugin-Session-FastMmap/Makefile index 1f36115638fd..61279a08aa3c 100644 --- a/www/p5-Catalyst-Plugin-Session-FastMmap/Makefile +++ b/www/p5-Catalyst-Plugin-Session-FastMmap/Makefile @@ -28,4 +28,7 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Plugin::Session::FastMmap.3 +regression-test: build + cd ${WRKSRC}/ && ${MAKE} test + .include diff --git a/www/p5-Catalyst-Plugin-Static/Makefile b/www/p5-Catalyst-Plugin-Static/Makefile index 9717c9c14e9b..12d04717da05 100644 --- a/www/p5-Catalyst-Plugin-Static/Makefile +++ b/www/p5-Catalyst-Plugin-Static/Makefile @@ -25,4 +25,7 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Plugin::Static.3 +regression-test: build + cd ${WRKSRC}/ && ${MAKE} test + .include diff --git a/www/p5-Catalyst-Plugin-Unicode-Encoding/Makefile b/www/p5-Catalyst-Plugin-Unicode-Encoding/Makefile index 8724b5f02540..6045128894b8 100644 --- a/www/p5-Catalyst-Plugin-Unicode-Encoding/Makefile +++ b/www/p5-Catalyst-Plugin-Unicode-Encoding/Makefile @@ -25,4 +25,10 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Plugin::Unicode::Encoding.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Catalyst-Runtime/Makefile b/www/p5-Catalyst-Runtime/Makefile index 3bbbf62141e1..b3e44361dcce 100644 --- a/www/p5-Catalyst-Runtime/Makefile +++ b/www/p5-Catalyst-Runtime/Makefile @@ -107,4 +107,11 @@ MAN3= Catalyst.3 \ post-install: @${CAT} ${PKGDIR}/pkg-message -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS+= p5-Module-Pluggable>=3.9:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include diff --git a/www/p5-Catalyst-View-Email/Makefile b/www/p5-Catalyst-View-Email/Makefile index 49628804302c..a29557e06b15 100644 --- a/www/p5-Catalyst-View-Email/Makefile +++ b/www/p5-Catalyst-View-Email/Makefile @@ -36,4 +36,11 @@ MAN3= Catalyst::Helper::View::Email.3 \ Catalyst::View::Email.3 \ Catalyst::View::Email::Template.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-Catalyst-View-Mason/Makefile b/www/p5-Catalyst-View-Mason/Makefile index d8e1f6dd5f87..36abfe714506 100644 --- a/www/p5-Catalyst-View-Mason/Makefile +++ b/www/p5-Catalyst-View-Mason/Makefile @@ -26,4 +26,11 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Helper::View::Mason.3 \ Catalyst::View::Mason.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-FCGI-Client/Makefile b/www/p5-FCGI-Client/Makefile index 29f75a161408..83fccb35178f 100644 --- a/www/p5-FCGI-Client/Makefile +++ b/www/p5-FCGI-Client/Makefile @@ -15,9 +15,10 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl extension for fastcgi protocol client library -RUN_DEPENDS= p5-Any-Moose>=0.1:${PORTSDIR}/devel/p5-Any-Moose \ +RUN_DEPENDS= \ + p5-Any-Moose>=0.1:${PORTSDIR}/devel/p5-Any-Moose \ p5-Try-Tiny>0:${PORTSDIR}/lang/p5-Try-Tiny -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -28,4 +29,10 @@ MAN3= FCGI::Client.3 \ FCGI::Client::RecordFactory.3 \ FCGI::Client::RecordHeader.3 -.include +.include + +.if ${PERL_LEVEL} <= 501000 +RUN_DEPENDS+= p5-autodie>0:${PORTSDIR}/devel/p5-autodie +.endif + +.include diff --git a/www/p5-FCGI-Engine/Makefile b/www/p5-FCGI-Engine/Makefile index 1557858806b8..8a54d6aa3a05 100644 --- a/www/p5-FCGI-Engine/Makefile +++ b/www/p5-FCGI-Engine/Makefile @@ -44,4 +44,10 @@ MAN3= FCGI::Engine.3 \ Plack::Server::FCGI::Engine.3 \ Plack::Server::FCGI::Engine::ProcManager.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-FEAR-API/Makefile b/www/p5-FEAR-API/Makefile index 917783c35e03..7520126f313b 100644 --- a/www/p5-FEAR-API/Makefile +++ b/www/p5-FEAR-API/Makefile @@ -53,4 +53,10 @@ MAN3= FEAR::API.3 \ FEAR::API::Filters.3 \ FEAR::API::Document.3 -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include diff --git a/www/p5-Feersum/Makefile b/www/p5-Feersum/Makefile index 2f1c5939f496..c847dc950875 100644 --- a/www/p5-Feersum/Makefile +++ b/www/p5-Feersum/Makefile @@ -39,4 +39,15 @@ MAN3= Feersum.3 \ Feersum::Runner.3 \ Plack::Handler::Feersum.3 -.include +.include + +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.19:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.19:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.if ${PERL_LEVEL} < 501200 +TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-HTTP-Body/Makefile b/www/p5-HTTP-Body/Makefile index c7e319950bc4..f95c87142461 100644 --- a/www/p5-HTTP-Body/Makefile +++ b/www/p5-HTTP-Body/Makefile @@ -34,4 +34,10 @@ MAN3= HTTP::Body.3 \ HTTP::Body::XForms.3 \ HTTP::Body::XFormsMultipart.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.86:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-HTTP-Cache-Transparent/Makefile b/www/p5-HTTP-Cache-Transparent/Makefile index 155408dde718..7f48c06ea001 100644 --- a/www/p5-HTTP-Cache-Transparent/Makefile +++ b/www/p5-HTTP-Cache-Transparent/Makefile @@ -20,4 +20,10 @@ RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww PERL_CONFIGURE= yes MAN3= HTTP::Cache::Transparent.3 -.include +.include + +.if ${PERL_LEVEL} < 500800 +BROKEN= Does not compile with perl ${PERL_VERSION} +.endif + +.include diff --git a/www/p5-HTTP-Message/Makefile b/www/p5-HTTP-Message/Makefile index 30208b7cd7b8..6627bb27079a 100644 --- a/www/p5-HTTP-Message/Makefile +++ b/www/p5-HTTP-Message/Makefile @@ -35,4 +35,16 @@ MAN3= HTTP::Config.3 \ HTTP::Response.3 \ HTTP::Status.3 -.include +.include + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-Compress-Raw-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib +RUN_DEPENDS+= p5-Compress-Raw-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib +.endif + +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-IO-Compress>=2.021:${PORTSDIR}/archivers/p5-IO-Compress +RUN_DEPENDS+= p5-IO-Compress>=2.021:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include diff --git a/www/p5-HTTP-Response-Encoding/Makefile b/www/p5-HTTP-Response-Encoding/Makefile index c9d5b246eb13..9ad85cef004b 100644 --- a/www/p5-HTTP-Response-Encoding/Makefile +++ b/www/p5-HTTP-Response-Encoding/Makefile @@ -26,4 +26,10 @@ PERL_CONFIGURE= yes MAN3= HTTP::Response::Encoding.3 -.include +.include + +.if ${PERL_LEVEL} < 500805 +RUN_DEPENDS+= p5-Encode>=2:${PORTSDIR}/converters/p5-Encode +.endif + +.include diff --git a/www/p5-Jifty/Makefile b/www/p5-Jifty/Makefile index 045cfd3585fd..ac4628ce6015 100644 --- a/www/p5-Jifty/Makefile +++ b/www/p5-Jifty/Makefile @@ -110,7 +110,13 @@ PERL_CONFIGURE= yes .include "Makefile.man" +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + post-patch: ${REINPLACE_CMD} -e '/auto_install/d' ${WRKSRC}/Makefile.PL -.include +.include diff --git a/www/p5-LWP-Authen-Wsse/Makefile b/www/p5-LWP-Authen-Wsse/Makefile index 7ee59ff6e902..ef2ee0146fd3 100644 --- a/www/p5-LWP-Authen-Wsse/Makefile +++ b/www/p5-LWP-Authen-Wsse/Makefile @@ -22,4 +22,10 @@ PERL_CONFIGURE= yes MAN3= LWP::Authen::Wsse.3 -.include +.include + +.if ${PERL_LEVEL} < 500805 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include diff --git a/www/p5-Markup-Perl/Makefile b/www/p5-Markup-Perl/Makefile index 2bd9167e3124..9a452566dd23 100644 --- a/www/p5-Markup-Perl/Makefile +++ b/www/p5-Markup-Perl/Makefile @@ -21,4 +21,10 @@ PERL_CONFIGURE= yes MAN3= Markup::Perl.3 -.include +.include + +.if ${PERL_LEVEL} < 500805 +RUN_DEPENDS= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm +.endif + +.include diff --git a/www/p5-MojoMojo/Makefile b/www/p5-MojoMojo/Makefile index 254d310b9f6c..0f1833106abf 100644 --- a/www/p5-MojoMojo/Makefile +++ b/www/p5-MojoMojo/Makefile @@ -243,4 +243,11 @@ RUN_DEPENDS+= p5-Net-Amazon>=0:${PORTSDIR}/net/p5-Net-Amazon RUN_DEPENDS+= p5-Text-Emoticon-MSN>=0:${PORTSDIR}/textproc/p5-Text-Emoticon-MSN .endif -.include +.include + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-Encode>=2.31:${PORTSDIR}/converters/p5-Encode \ + p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-Mojolicious-Plugin-Database/Makefile b/www/p5-Mojolicious-Plugin-Database/Makefile index 2c9e44ac7d00..d081878503ea 100644 --- a/www/p5-Mojolicious-Plugin-Database/Makefile +++ b/www/p5-Mojolicious-Plugin-Database/Makefile @@ -25,4 +25,10 @@ LICENSE_COMB= dual MAN3= Mojolicious::Plugin::Database.3 -.include +.include + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/www/p5-Mojolicious-Plugin-Mongodb/Makefile b/www/p5-Mojolicious-Plugin-Mongodb/Makefile index 492b9ce8ef30..f9238e28d396 100644 --- a/www/p5-Mojolicious-Plugin-Mongodb/Makefile +++ b/www/p5-Mojolicious-Plugin-Mongodb/Makefile @@ -25,4 +25,10 @@ LICENSE_COMB= dual MAN3= Mojolicious::Plugin::Mongodb.3 -.include +.include + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/www/p5-Mojolicious/Makefile b/www/p5-Mojolicious/Makefile index 06f3d9fd4b53..78d14f1c8c7a 100644 --- a/www/p5-Mojolicious/Makefile +++ b/www/p5-Mojolicious/Makefile @@ -18,7 +18,7 @@ LICENSE= ART20 LICENSE_FILES= ${WRKSRC}/LICENSE -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.10.1+ MAN1= hypnotoad.1 \ mojo.1 \ diff --git a/www/p5-Net-FreshBooks-API/Makefile b/www/p5-Net-FreshBooks-API/Makefile index 62ff81d48abc..6e03fb0fa328 100644 --- a/www/p5-Net-FreshBooks-API/Makefile +++ b/www/p5-Net-FreshBooks-API/Makefile @@ -55,6 +55,10 @@ MAN3= Net::FreshBooks::API.3 \ .include +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-Module-Build>=0.3601:${PORTSDIR}/devel/p5-Module-Build +.endif + .if ${PERL_LEVEL} < 501400 RUN_DEPENDS+= p5-parent>=0.224:${PORTSDIR}/devel/p5-parent TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple diff --git a/www/p5-Perlanet/Makefile b/www/p5-Perlanet/Makefile index 38428325e9cd..01638eec63aa 100644 --- a/www/p5-Perlanet/Makefile +++ b/www/p5-Perlanet/Makefile @@ -44,4 +44,10 @@ MAN3= Perlanet.3 \ Perlanet::Trait::Tidy.3 \ Perlanet::Trait::YAMLConfig.3 -.include +.include + +.if ${PERL_LEVEL} < 508000 +RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include diff --git a/www/p5-Plack-Middleware-Expires/Makefile b/www/p5-Plack-Middleware-Expires/Makefile index 846188887ecf..13406eb4766e 100644 --- a/www/p5-Plack-Middleware-Expires/Makefile +++ b/www/p5-Plack-Middleware-Expires/Makefile @@ -22,4 +22,10 @@ PERL_CONFIGURE= yes MAN3= Plack::Middleware::Expires.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-Plack-Middleware-XForwardedFor/Makefile b/www/p5-Plack-Middleware-XForwardedFor/Makefile index 8967a5ee4c04..a53a4d908332 100644 --- a/www/p5-Plack-Middleware-XForwardedFor/Makefile +++ b/www/p5-Plack-Middleware-XForwardedFor/Makefile @@ -23,4 +23,11 @@ PERL_CONFIGURE= yes MAN3= Plack::Middleware::XForwardedFor.3 -.include +.include + +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-parent>=0.223:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0.223:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-Plack-Test-ExternalServer/Makefile b/www/p5-Plack-Test-ExternalServer/Makefile index 0936290abd14..f5f9a0fd44c9 100644 --- a/www/p5-Plack-Test-ExternalServer/Makefile +++ b/www/p5-Plack-Test-ExternalServer/Makefile @@ -28,4 +28,10 @@ PERL_CONFIGURE= yes MAN3= Plack::Test::ExternalServer.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.89:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Pod-Site/Makefile b/www/p5-Pod-Site/Makefile index 0f81aec15b18..5cbef32d1771 100644 --- a/www/p5-Pod-Site/Makefile +++ b/www/p5-Pod-Site/Makefile @@ -40,4 +40,15 @@ TEST_DEPENDS+= p5-Test-Pod>=1.41:${PORTSDIR}/devel/p5-Test-Pod \ p5-Test-Pod-Coverage>=1.06:${PORTSDIR}/devel/p5-Test-Pod-Coverage .endif -.include +.include + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-File-Path>=2.07:${PORTSDIR}/devel/p5-File-Path +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.if ${PERL_LEVEL} < 501200 +RUN_DEPENDS+= p5-Pod-Simple>=3.12:${PORTSDIR}/textproc/p5-Pod-Simple +.endif + +.include diff --git a/www/p5-Router-Simple/Makefile b/www/p5-Router-Simple/Makefile index e8ae62d19dbe..63834794c97f 100644 --- a/www/p5-Router-Simple/Makefile +++ b/www/p5-Router-Simple/Makefile @@ -26,4 +26,12 @@ MAN3= Router::Simple.3 \ Router::Simple::Route.3 \ Router::Simple::SubMapper.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-Tatsumaki/Makefile b/www/p5-Tatsumaki/Makefile index 0498ff62f4fd..3cfba283327c 100644 --- a/www/p5-Tatsumaki/Makefile +++ b/www/p5-Tatsumaki/Makefile @@ -35,4 +35,10 @@ PERL_CONFIGURE= yes MAN3= Tatsumaki.3 \ Tatsumaki::MessageQueue.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-URI-Fetch/Makefile b/www/p5-URI-Fetch/Makefile index 7f920d0ada1d..583d9bf873ae 100644 --- a/www/p5-URI-Fetch/Makefile +++ b/www/p5-URI-Fetch/Makefile @@ -28,7 +28,13 @@ PERL_CONFIGURE= yes MAN3= URI::Fetch.3 \ URI::Fetch::Response.3 -.include +.include + +.if !defined(WITHOUT_ZLIB) +. if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +. endif +.endif .if defined(WITH_CACHE) RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache @@ -37,4 +43,4 @@ RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache post-patch: ${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL -.include +.include diff --git a/www/p5-URI-Title/Makefile b/www/p5-URI-Title/Makefile index 9a20dc55afd8..7839264d5624 100644 --- a/www/p5-URI-Title/Makefile +++ b/www/p5-URI-Title/Makefile @@ -15,15 +15,22 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Get the titles of things on the web in a sensible way -BUILD_DEPENDS= p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \ +COMMON_DEPENDS= p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \ p5-HTML-Parser>=3.45:${PORTSDIR}/www/p5-HTML-Parser \ p5-Image-Size>0:${PORTSDIR}/graphics/p5-Image-Size \ p5-MP3-Info>0:${PORTSDIR}/audio/p5-MP3-Info \ p5-libwww>0:${PORTSDIR}/www/p5-libwww -RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${COMMON_DEPENDS} +RUN_DEPENDS= ${COMMON_DEPENDS} PERL_CONFIGURE= yes MAN3= URI::Title.3 -.include +.include + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Module-Pluggable>=1.2:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include diff --git a/www/p5-WWW-AtMovies-TV/Makefile b/www/p5-WWW-AtMovies-TV/Makefile index 804f4bce4576..3729ea5c5bba 100644 --- a/www/p5-WWW-AtMovies-TV/Makefile +++ b/www/p5-WWW-AtMovies-TV/Makefile @@ -19,10 +19,16 @@ COMMENT= Retrieve TV information from http://www.atmovies.com.tw/ RUN_DEPENDS= p5-HTML-TableExtract>=2.1:${PORTSDIR}/www/p5-HTML-TableExtract \ p5-Moose>=0.55:${PORTSDIR}/devel/p5-Moose \ p5-WWW-Mechanize>=1.34:${PORTSDIR}/www/p5-WWW-Mechanize -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN3= WWW::AtMovies::TV.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-version>=0.76:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/www/p5-WWW-Baseball-NPB/Makefile b/www/p5-WWW-Baseball-NPB/Makefile index 2f6b09c099b3..445403e165de 100644 --- a/www/p5-WWW-Baseball-NPB/Makefile +++ b/www/p5-WWW-Baseball-NPB/Makefile @@ -21,4 +21,10 @@ PERL_CONFIGURE= yes MAN3= WWW::Baseball::NPB.3 WWW::Baseball::NPB::Game.3 -.include +.include + +.if ${PERL_LEVEL} < 500805 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include diff --git a/www/p5-WWW-Contact/Makefile b/www/p5-WWW-Contact/Makefile index 6529af153ef3..1185a492d6ce 100644 --- a/www/p5-WWW-Contact/Makefile +++ b/www/p5-WWW-Contact/Makefile @@ -49,4 +49,10 @@ MAN3= WWW::Contact.3 \ WWW::Contact::Rediffmail.3 \ WWW::Contact::Yahoo.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.90:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/www/p5-WWW-Facebook-API/Makefile b/www/p5-WWW-Facebook-API/Makefile index 858788eada15..f460fbebb6ad 100644 --- a/www/p5-WWW-Facebook-API/Makefile +++ b/www/p5-WWW-Facebook-API/Makefile @@ -53,4 +53,10 @@ MAN3= WWW::Facebook::API.3 \ WWW::Facebook::API::Users.3 \ WWW::Facebook::API::Video.3 -.include +.include + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/www/p5-WWW-Mechanize-GZip/Makefile b/www/p5-WWW-Mechanize-GZip/Makefile index 99c4e4a4447a..4abd7dc7ce8d 100644 --- a/www/p5-WWW-Mechanize-GZip/Makefile +++ b/www/p5-WWW-Mechanize-GZip/Makefile @@ -22,4 +22,11 @@ PERL_CONFIGURE= yes MAN3= WWW::Mechanize::GZip.3 -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include diff --git a/www/p5-WWW-Mechanize-Pluggable/Makefile b/www/p5-WWW-Mechanize-Pluggable/Makefile index 924c1356900a..829e671fbcd6 100644 --- a/www/p5-WWW-Mechanize-Pluggable/Makefile +++ b/www/p5-WWW-Mechanize-Pluggable/Makefile @@ -33,4 +33,10 @@ MAN3= WWW::Mechanize::Pluggable.3 \ WWW::Mechanize::Plugin::Cookbook.3 \ WWW::Mechanize::Plugin::HelloWorld.3 -.include +.include + +.if ${PERL_LEVEL} < 500809 +RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include diff --git a/www/p5-WWW-Mechanize-Shell/Makefile b/www/p5-WWW-Mechanize-Shell/Makefile index e3f2f0c44f67..c5789c52b789 100644 --- a/www/p5-WWW-Mechanize-Shell/Makefile +++ b/www/p5-WWW-Mechanize-Shell/Makefile @@ -52,4 +52,11 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${EXAMPLESDIR}." .endif -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include diff --git a/www/p5-WWW-Plurk/Makefile b/www/p5-WWW-Plurk/Makefile index 741c02c71d68..228bca2c6d58 100644 --- a/www/p5-WWW-Plurk/Makefile +++ b/www/p5-WWW-Plurk/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= p5-DateTime-Format-Mail>=0:${PORTSDIR}/devel/p5-DateTime-Format-Mai p5-JSON>=2.00:${PORTSDIR}/converters/p5-JSON \ p5-Math-Base36>=0:${PORTSDIR}/math/p5-Math-Base36 \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} BUILD_DEPENDS+= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep PERL_CONFIGURE= yes @@ -30,4 +30,10 @@ MAN3= WWW::Plurk.3 WWW::Plurk::Friend.3 WWW::Plurk::Message.3 post-patch: ${FIND} ${WRKSRC} -name "*.orig" -delete -.include +.include + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Time-Piece>=0:${PORTSDIR}/devel/p5-Time-Piece +.endif + +.include diff --git a/www/p5-WWW-iTunesConnect/Makefile b/www/p5-WWW-iTunesConnect/Makefile index 12dc683242ce..4d263def375e 100644 --- a/www/p5-WWW-iTunesConnect/Makefile +++ b/www/p5-WWW-iTunesConnect/Makefile @@ -14,7 +14,7 @@ PKGNAMEPREFIX= p5- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= bfoz@bfoz.net -COMMENT= Client interface for Apples iTunes Connect service +COMMENT= Client interface for Apple's iTunes Connect service RUN_DEPENDS= p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \ p5-libwww>=5.829:${PORTSDIR}/www/p5-libwww \ @@ -31,4 +31,10 @@ PLIST_DIRS= %%SITE_PERL%%/WWW \ %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/iTunesConnect \ %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include -- cgit v1.2.3