aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-Plugin-Cache
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-15 13:20:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-15 13:20:39 +0000
commite21479173d6033b1f15bb961d895cc5c0d23afa4 (patch)
tree9b437bdcb551f0181df00a80538cc1d32485ccea /www/p5-Catalyst-Plugin-Cache
parenta79ab1f00794cf6593b50a77165017297a94ccb1 (diff)
downloadports-e21479173d6033b1f15bb961d895cc5c0d23afa4.tar.gz
ports-e21479173d6033b1f15bb961d895cc5c0d23afa4.zip
Notes
Diffstat (limited to 'www/p5-Catalyst-Plugin-Cache')
-rw-r--r--www/p5-Catalyst-Plugin-Cache/Makefile20
-rw-r--r--www/p5-Catalyst-Plugin-Cache/distinfo4
2 files changed, 17 insertions, 7 deletions
diff --git a/www/p5-Catalyst-Plugin-Cache/Makefile b/www/p5-Catalyst-Plugin-Cache/Makefile
index 93dc9a260dee..190d8e6e8cae 100644
--- a/www/p5-Catalyst-Plugin-Cache/Makefile
+++ b/www/p5-Catalyst-Plugin-Cache/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Catalyst-Plugin-Cache
-PORTVERSION= 0.10
+PORTVERSION= 0.11
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,10 +14,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Flexible caching support for Catalyst
-RUN_DEPENDS= p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
+BUILD_DEPENDS= p5-Catalyst-Runtime>=5.8000:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \
p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
-BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+ p5-Test-WWW-Mechanize-Catalyst>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-Catalyst
PERL_CONFIGURE= yes
@@ -29,7 +33,13 @@ MAN3= Catalyst::Plugin::Cache.3 \
Catalyst::Plugin::Cache::Store.3 \
Catalyst::Plugin::Cache::Store::Memory.3
-post-extract:
+post-patch:
@${PERL} -i.bak -ne 'print unless m,ok|Test::,' ${WRKSRC}/Makefile.PL
-.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/www/p5-Catalyst-Plugin-Cache/distinfo b/www/p5-Catalyst-Plugin-Cache/distinfo
index c20bd8a88442..021429b506a9 100644
--- a/www/p5-Catalyst-Plugin-Cache/distinfo
+++ b/www/p5-Catalyst-Plugin-Cache/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Catalyst-Plugin-Cache-0.10.tar.gz) = e9a76a9ee983e18ebee3b53a05dfcf9192dfc0193d709d2c56f36384f63d1b49
-SIZE (Catalyst-Plugin-Cache-0.10.tar.gz) = 27622
+SHA256 (Catalyst-Plugin-Cache-0.11.tar.gz) = b5c08990fc918cb57c371ddeef2c44989ad455e243a558c40b1159f658edadcc
+SIZE (Catalyst-Plugin-Cache-0.11.tar.gz) = 96321