aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-CGI-Application-Dispatch
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-01-20 23:09:48 +0800
committerswills <swills@FreeBSD.org>2013-01-20 23:09:48 +0800
commit35eb96fa70459ecfd382bf700d9c209cc3b1642a (patch)
tree664882cd75e60d7a75ba0e6ddae72e8c5a777d43 /www/p5-CGI-Application-Dispatch
parent93393f2f8bfeab96e4c52b172581cd508d5d4d63 (diff)
downloadfreebsd-ports-gnome-35eb96fa70459ecfd382bf700d9c209cc3b1642a.tar.gz
freebsd-ports-gnome-35eb96fa70459ecfd382bf700d9c209cc3b1642a.tar.zst
freebsd-ports-gnome-35eb96fa70459ecfd382bf700d9c209cc3b1642a.zip
- Update to 3.12
- Give maintainership to submitter - Add LICENSE (ART10 GPLv1) - Tune dependencies to get rid of build-time warnings PR: ports/175347 Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
Diffstat (limited to 'www/p5-CGI-Application-Dispatch')
-rw-r--r--www/p5-CGI-Application-Dispatch/Makefile21
-rw-r--r--www/p5-CGI-Application-Dispatch/distinfo4
-rw-r--r--www/p5-CGI-Application-Dispatch/files/patch-Build.PL11
3 files changed, 17 insertions, 19 deletions
diff --git a/www/p5-CGI-Application-Dispatch/Makefile b/www/p5-CGI-Application-Dispatch/Makefile
index 9f9161221a9a..0ac82697e3b5 100644
--- a/www/p5-CGI-Application-Dispatch/Makefile
+++ b/www/p5-CGI-Application-Dispatch/Makefile
@@ -2,26 +2,25 @@
# $FreeBSD$
PORTNAME= CGI-Application-Dispatch
-PORTVERSION= 3.07
+PORTVERSION= 3.12
CATEGORIES= www perl5
MASTER_SITES= CPAN/CGI
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= linpc@cs.nctu.edu.tw
COMMENT= Dispatch requests to CGI::Application based objects
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-CGI-Application>=4.50:${PORTSDIR}/www/p5-CGI-Application \
+ p5-CGI-PSGI>=0:${PORTSDIR}/www/p5-CGI-PSGI \
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-HTTP-Exception>=0:${PORTSDIR}/www/p5-HTTP-Exception \
p5-Plack>=0.9956:${PORTSDIR}/www/p5-Plack \
- p5-Test-LongString>=0:${PORTSDIR}/devel/p5-Test-LongString
+ p5-Test-LongString>=0:${PORTSDIR}/devel/p5-Test-LongString \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
diff --git a/www/p5-CGI-Application-Dispatch/distinfo b/www/p5-CGI-Application-Dispatch/distinfo
index de0a5fbe474d..c58032dedf6d 100644
--- a/www/p5-CGI-Application-Dispatch/distinfo
+++ b/www/p5-CGI-Application-Dispatch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (CGI-Application-Dispatch-3.07.tar.gz) = a90abab92f13dd932250031c58d787af2343ff5acfba95c699dacbdcba995716
-SIZE (CGI-Application-Dispatch-3.07.tar.gz) = 39261
+SHA256 (CGI-Application-Dispatch-3.12.tar.gz) = 5dad58e4fa6d79f1d48120800872b22ffdbb9b165911a973642038db88078d0f
+SIZE (CGI-Application-Dispatch-3.12.tar.gz) = 38322
diff --git a/www/p5-CGI-Application-Dispatch/files/patch-Build.PL b/www/p5-CGI-Application-Dispatch/files/patch-Build.PL
index 75f7dc929f6d..9dc7b05ab955 100644
--- a/www/p5-CGI-Application-Dispatch/files/patch-Build.PL
+++ b/www/p5-CGI-Application-Dispatch/files/patch-Build.PL
@@ -1,9 +1,8 @@
---- Build.PL.orig 2008-06-05 15:39:53.000000000 -0700
-+++ Build.PL 2008-06-05 15:40:02.000000000 -0700
+--- ./Build.PL.orig 2013-01-16 16:08:24.583714613 +0800
++++ ./Build.PL 2013-01-16 16:09:30.191293173 +0800
@@ -1,3 +1,5 @@
+use Module::Build;
+
- my $build_pkg = eval "require Apache::TestMB" ? 'Apache::TestMB' : 'Module::Build';
- my $build = $build_pkg->new(
- module_name => 'CGI::Application::Dispatch',
-
+ my $have_apache_test = 0;
+ my $build_pkg = 'Module::Build';
+ eval "require Apache::Test";