aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2006-03-15 12:52:19 +0000
committerLars Thegler <lth@FreeBSD.org>2006-03-15 12:52:19 +0000
commitcec44e447fcb62be7e65a56419441c190e8ed1e4 (patch)
treecb42d4af8e128dd2af4f85ba3f23456f58510d4c /www
parent3ddf6104e49398966b0f0852b2d64cc7658c30b1 (diff)
downloadports-cec44e447fcb62be7e65a56419441c190e8ed1e4.tar.gz
ports-cec44e447fcb62be7e65a56419441c190e8ed1e4.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/p5-URI-Fetch/Makefile18
-rw-r--r--www/p5-URI-Fetch/distinfo6
2 files changed, 19 insertions, 5 deletions
diff --git a/www/p5-URI-Fetch/Makefile b/www/p5-URI-Fetch/Makefile
index 3c84729e8efb..de11a0fb5184 100644
--- a/www/p5-URI-Fetch/Makefile
+++ b/www/p5-URI-Fetch/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= URI-Fetch
-PORTVERSION= 0.04
+PORTVERSION= 0.05
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
@@ -21,6 +21,21 @@ BUILD_DEPENDS= ${SITE_PERL}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-Err
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS= ${BUILD_DEPENDS}
+OPTIONS= ZLIB "GZIP Support" on \
+ CACHE "Caching Support" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_ZLIB)
+BUILD_DEPENDS+= p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib
+RUN_DEPENDS+= p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib
+.endif
+
+.if defined(WITH_CACHE)
+BUILD_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache
+RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache
+.endif
+
PERL_MODBUILD= yes
MAN3= URI::Fetch.3 \
@@ -29,7 +44,6 @@ MAN3= URI::Fetch.3 \
post-patch:
${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
-.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires Perl 5.6 or later. Please install lang/perl5 or lang/perl5.8 and try again
.endif
diff --git a/www/p5-URI-Fetch/distinfo b/www/p5-URI-Fetch/distinfo
index f140f3072638..ba54e86e838d 100644
--- a/www/p5-URI-Fetch/distinfo
+++ b/www/p5-URI-Fetch/distinfo
@@ -1,3 +1,3 @@
-MD5 (URI-Fetch-0.04.tar.gz) = 49b757663660d12258cb422967b80588
-SHA256 (URI-Fetch-0.04.tar.gz) = 09447521ff6f566ce1aa6cb434b9c5c3db40450d0d56cde52481991c8ade6c2b
-SIZE (URI-Fetch-0.04.tar.gz) = 19905
+MD5 (URI-Fetch-0.05.tar.gz) = e7b186c7a2f6aa5d5aed09c344a086b0
+SHA256 (URI-Fetch-0.05.tar.gz) = 09460d07411756797e60137ce075e43349295fec7dac03483d26ec7a4661c01d
+SIZE (URI-Fetch-0.05.tar.gz) = 20201