diff options
Diffstat (limited to 'graphics/p5-Image-Size/Makefile')
-rw-r--r-- | graphics/p5-Image-Size/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/p5-Image-Size/Makefile b/graphics/p5-Image-Size/Makefile index cb2672dbed84..78910d4be50d 100644 --- a/graphics/p5-Image-Size/Makefile +++ b/graphics/p5-Image-Size/Makefile @@ -7,6 +7,7 @@ PORTNAME= Image-Size PORTVERSION= 3.221 +PORTREVISION= 1 CATEGORIES= graphics www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,11 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= tolid@tolid.eu.org COMMENT= Perl5 module to determine the size of images in several common formats -RUN_DEPENDS= p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib - PERL_CONFIGURE= yes MAN1= imgsize.1 MAN3= Image::Size.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> |