aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-04-19 10:05:11 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-04-19 10:05:11 +0000
commitee299b41f4adbeabb4598cfe1854ed33038d954c (patch)
treef95220ffec304930557a7a8fce3ac9c544b9e983
parentb4113110615bcf5a6d234cf14d23f585d6058e38 (diff)
Notes
-rw-r--r--www/p5-CGI-Cache/Makefile21
-rw-r--r--www/p5-CGI-Cache/distinfo6
2 files changed, 18 insertions, 9 deletions
diff --git a/www/p5-CGI-Cache/Makefile b/www/p5-CGI-Cache/Makefile
index 314a5f9cd127..1fda43c124dd 100644
--- a/www/p5-CGI-Cache/Makefile
+++ b/www/p5-CGI-Cache/Makefile
@@ -6,24 +6,33 @@
#
PORTNAME= CGI-Cache
-PORTVERSION= 1.40
-PORTREVISION= 1
+PORTVERSION= 1.42.00
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension to cache output of time-intensive CGI scripts
-BUILD_DEPENDS= ${SITE_PERL}/File/Cache.pm:${PORTSDIR}/devel/p5-File-Cache \
+RUN_DEPENDS= ${SITE_PERL}/Tie/Restore.pm:${PORTSDIR}/devel/p5-Tie-Restore \
${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
${SITE_PERL}/Cache/SizeAwareFileCache.pm:${PORTSDIR}/devel/p5-Cache-Cache \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
MAN3= CGI::Cache.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+post-configure:
+ ${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-CGI-Cache/distinfo b/www/p5-CGI-Cache/distinfo
index e30ee9a3f3bf..59e94458cfd1 100644
--- a/www/p5-CGI-Cache/distinfo
+++ b/www/p5-CGI-Cache/distinfo
@@ -1,3 +1,3 @@
-MD5 (CGI-Cache-1.40.tar.gz) = 95ffb484809b8a79556044c3dee19afb
-SHA256 (CGI-Cache-1.40.tar.gz) = 9ef151e60a0dc8a2e1575e5cdeee7bb66b918b2867d715fdeffdd3f14d73ced5
-SIZE (CGI-Cache-1.40.tar.gz) = 15370
+MD5 (CGI-Cache-1.4200.tar.gz) = 3e43ff5a40dd2ffba4a1bfda3bec1244
+SHA256 (CGI-Cache-1.4200.tar.gz) = 51e8fa16eb23931fe82375d75beca33b584b9e0b4c1d91b3d8e31008e0f3370e
+SIZE (CGI-Cache-1.4200.tar.gz) = 44605