aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-Compress-Gzip
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
commitddcc0de9218039c78eb34c7bc64fadb4dfe7a707 (patch)
treebee4ba075b3a0b4d3276fe1e92c704118abdbfe3 /www/p5-CGI-Compress-Gzip
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
Notes
Diffstat (limited to 'www/p5-CGI-Compress-Gzip')
-rw-r--r--www/p5-CGI-Compress-Gzip/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/p5-CGI-Compress-Gzip/Makefile b/www/p5-CGI-Compress-Gzip/Makefile
index 3c2595da1355..67fb61f72379 100644
--- a/www/p5-CGI-Compress-Gzip/Makefile
+++ b/www/p5-CGI-Compress-Gzip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= CGI-Compress-Gzip
PORTVERSION= 1.03
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CGI
@@ -15,13 +16,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= CGI::Compress::Gzip - CGI with automatically compressed output
-BUILD_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib \
- p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib
+RUN_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib
PERL_MODBUILD= yes
MAN3= CGI::Compress::Gzip.3 \
CGI::Compress::Gzip::FileHandle.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>