summaryrefslogtreecommitdiff
path: root/graphics/p5-Image-Pngslimmer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-Image-Pngslimmer/Makefile')
-rw-r--r--graphics/p5-Image-Pngslimmer/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/p5-Image-Pngslimmer/Makefile b/graphics/p5-Image-Pngslimmer/Makefile
index 25a3e8e5f9c6..90843aabc5cb 100644
--- a/graphics/p5-Image-Pngslimmer/Makefile
+++ b/graphics/p5-Image-Pngslimmer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Image-Pngslimmer
PORTVERSION= 0.30
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,12 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Slims (dynamically created) PNGs
-RUN_DEPENDS= p5-Compress-Zlib>=2.003:${PORTSDIR}/archivers/p5-Compress-Zlib \
- p5-Compress-Raw-Zlib>=2.003:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Image::Pngslimmer.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>