aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Archive-Zip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p5-Archive-Zip/Makefile')
-rw-r--r--archivers/p5-Archive-Zip/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/archivers/p5-Archive-Zip/Makefile b/archivers/p5-Archive-Zip/Makefile
index 4bcbe53bf363..4a665415c03a 100644
--- a/archivers/p5-Archive-Zip/Makefile
+++ b/archivers/p5-Archive-Zip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Archive-Zip
PORTVERSION= 1.30
+PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to create, manipulate, read, and write Zip archive files
-BUILD_DEPENDS= p5-Compress-Zlib>=1.14:${PORTSDIR}/archivers/p5-Compress-Zlib
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Archive::Zip.3 Archive::Zip::Tree.3 Archive::Zip::FAQ.3 Archive::Zip::MemberRead.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
+