aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-19 05:51:21 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-19 05:51:21 +0000
commitd03a02705bb22df60a91eb484e2a2a93fd7974e6 (patch)
treeb61738b4f072eddae2b6909a6f64717db036093a
parentfa0a610cae76fd77a09a6cdffeb0ca98ce0a1059 (diff)
downloadports-d03a02705bb22df60a91eb484e2a2a93fd7974e6.tar.gz
ports-d03a02705bb22df60a91eb484e2a2a93fd7974e6.zip
- Update 3.07
- Add TEST_DEPENDS - Sort PLIST Changes: http://search.cpan.org/dist/CGI-Application-Dispatch/Changes PR: ports/161236 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 16 days)
Notes
Notes: svn path=/head/; revision=283876
-rw-r--r--www/p5-CGI-Application-Dispatch/Makefile32
-rw-r--r--www/p5-CGI-Application-Dispatch/distinfo4
-rw-r--r--www/p5-CGI-Application-Dispatch/pkg-plist3
3 files changed, 28 insertions, 11 deletions
diff --git a/www/p5-CGI-Application-Dispatch/Makefile b/www/p5-CGI-Application-Dispatch/Makefile
index 9d4f354e04c0..992f8f07fcd3 100644
--- a/www/p5-CGI-Application-Dispatch/Makefile
+++ b/www/p5-CGI-Application-Dispatch/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= CGI-Application-Dispatch
-PORTVERSION= 2.17
+PORTVERSION= 3.07
CATEGORIES= www perl5
MASTER_SITES= CPAN/CGI
PKGNAMEPREFIX= p5-
@@ -14,14 +14,30 @@ PKGNAMEPREFIX= p5-
MAINTAINER= hartzell@alerce.com
COMMENT= Dispatch requests to CGI::Application based objects
-BUILD_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \
- ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
- ${SITE_PERL}/Exception/Class/TryCatch.pm:${PORTSDIR}/devel/p5-Exception-Class-TryCatch \
- ${SITE_PERL}/Test/LongString.pm:${PORTSDIR}/devel/p5-Test-LongString
+BUILD_DEPENDS= p5-CGI-Application>=4.50:${PORTSDIR}/www/p5-CGI-Application \
+ p5-Exception-Class>=1.20:${PORTSDIR}/devel/p5-Exception-Class \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
+ p5-HTTP-Exception>=0:${PORTSDIR}/www/p5-HTTP-Exception
+RUN_DEPENDS= p5-CGI-Application>=4.50:${PORTSDIR}/www/p5-CGI-Application \
+ p5-Exception-Class>=1.20:${PORTSDIR}/devel/p5-Exception-Class \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
+ p5-HTTP-Exception>=0:${PORTSDIR}/www/p5-HTTP-Exception
+
+TEST_DEPENDS= p5-CGI-PSGI>=0:${PORTSDIR}/www/p5-CGI-PSGI \
+ p5-Plack>=0.9956:${PORTSDIR}/www/p5-Plack \
+ p5-Test-LongString>=0:${PORTSDIR}/devel/p5-Test-LongString
PERL_MODBUILD= yes
-MAN3= CGI::Application::Dispatch.3 \
- CGI::Application::Dispatch::Regexp.3
+MAN3= CGI::Application::Dispatch.3 \
+ CGI::Application::Dispatch::PSGI.3 \
+ CGI::Application::Dispatch::Regexp.3
+
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/p5-CGI-Application-Dispatch/distinfo b/www/p5-CGI-Application-Dispatch/distinfo
index 543c18d73098..de0a5fbe474d 100644
--- a/www/p5-CGI-Application-Dispatch/distinfo
+++ b/www/p5-CGI-Application-Dispatch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (CGI-Application-Dispatch-2.17.tar.gz) = c5934c31dfa29d004bd9834a0ad4c7299fc8760dd489634f97e8848de4898f46
-SIZE (CGI-Application-Dispatch-2.17.tar.gz) = 21244
+SHA256 (CGI-Application-Dispatch-3.07.tar.gz) = a90abab92f13dd932250031c58d787af2343ff5acfba95c699dacbdcba995716
+SIZE (CGI-Application-Dispatch-3.07.tar.gz) = 39261
diff --git a/www/p5-CGI-Application-Dispatch/pkg-plist b/www/p5-CGI-Application-Dispatch/pkg-plist
index 96c3af29f736..fc9cc7a7b94d 100644
--- a/www/p5-CGI-Application-Dispatch/pkg-plist
+++ b/www/p5-CGI-Application-Dispatch/pkg-plist
@@ -1,5 +1,6 @@
-%%SITE_PERL%%/CGI/Application/Dispatch/Regexp.pm
%%SITE_PERL%%/CGI/Application/Dispatch.pm
+%%SITE_PERL%%/CGI/Application/Dispatch/PSGI.pm
+%%SITE_PERL%%/CGI/Application/Dispatch/Regexp.pm
@dirrmtry %%SITE_PERL%%/CGI/Application/Dispatch
@dirrmtry %%SITE_PERL%%/CGI/Application
@dirrmtry %%SITE_PERL%%/CGI