aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-IO-Zlib
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 /archivers/p5-IO-Zlib
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress. Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903 Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=261530
Diffstat (limited to 'archivers/p5-IO-Zlib')
-rw-r--r--archivers/p5-IO-Zlib/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/archivers/p5-IO-Zlib/Makefile b/archivers/p5-IO-Zlib/Makefile
index a85f3f14a33b..325e758da29e 100644
--- a/archivers/p5-IO-Zlib/Makefile
+++ b/archivers/p5-IO-Zlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= IO-Zlib
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= IO
@@ -15,10 +16,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= IO:: style interface to Compress::Zlib
-BUILD_DEPENDS= p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib
-RUN_DEPENDS= p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib
-
PERL_CONFIGURE= yes
MAN3= IO::Zlib.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+RUN_DEPENDS= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>