aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Path-Dispatcher
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-30 21:54:59 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-30 21:54:59 +0000
commit969c787570e8e7a669aec2671f2059dd2fff77d8 (patch)
tree43aa15df1b8a0d213fcb0689a9bfbfa2250ef189 /devel/p5-Path-Dispatcher
parent37393d62e60ae22ac79ca23e5ba672874f8d1177 (diff)
downloadports-969c787570e8e7a669aec2671f2059dd2fff77d8.tar.gz
ports-969c787570e8e7a669aec2671f2059dd2fff77d8.zip
Notes
Diffstat (limited to 'devel/p5-Path-Dispatcher')
-rw-r--r--devel/p5-Path-Dispatcher/Makefile11
-rw-r--r--devel/p5-Path-Dispatcher/pkg-descr2
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Path-Dispatcher/Makefile b/devel/p5-Path-Dispatcher/Makefile
index 06f71ad0cb18..1e5e64f536e2 100644
--- a/devel/p5-Path-Dispatcher/Makefile
+++ b/devel/p5-Path-Dispatcher/Makefile
@@ -23,9 +23,8 @@ BUILD_DEPENDS= p5-Any-Moose>=0.12:${PORTSDIR}/devel/p5-Any-Moose \
p5-Try-Tiny>=0.02:${PORTSDIR}/lang/p5-Try-Tiny
RUN_DEPENDS= p5-Any-Moose>=0.12:${PORTSDIR}/devel/p5-Any-Moose \
p5-Try-Tiny>=0.02:${PORTSDIR}/lang/p5-Try-Tiny
-TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
PERL_CONFIGURE= yes
@@ -50,4 +49,10 @@ MAN3= Path::Dispatcher::Path.3 \
Path::Dispatcher::Rule::Regex.3 \
Path::Dispatcher::Dispatch.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Path-Dispatcher/pkg-descr b/devel/p5-Path-Dispatcher/pkg-descr
index 8084a81fb88c..456e898b6a35 100644
--- a/devel/p5-Path-Dispatcher/pkg-descr
+++ b/devel/p5-Path-Dispatcher/pkg-descr
@@ -1,3 +1,3 @@
Path::Dispatcher - flexible and extensible dispatch for perl
-WWW: http://search.cpan.org/dist/Path-Dispatcher
+WWW: http://search.cpan.org/dist/Path-Dispatcher/