aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-Info/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-03-30 15:08:58 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-03-30 15:08:58 +0000
commita28c97799eb3ecdbfe345e79d6da0f7157b89268 (patch)
tree0ba9f1b2a72f9136d37fec0c52cf9d4adb7898b7 /graphics/p5-Image-Info/Makefile
parentdc46905063e6db52e00768139d21c13aebd9d8b7 (diff)
downloadports-a28c97799eb3ecdbfe345e79d6da0f7157b89268.tar.gz
ports-a28c97799eb3ecdbfe345e79d6da0f7157b89268.zip
Update to 1.16 (1.12 was not available any more)
Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=105707
Diffstat (limited to 'graphics/p5-Image-Info/Makefile')
-rw-r--r--graphics/p5-Image-Info/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/graphics/p5-Image-Info/Makefile b/graphics/p5-Image-Info/Makefile
index 389898ded573..57a76941499f 100644
--- a/graphics/p5-Image-Info/Makefile
+++ b/graphics/p5-Image-Info/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Image-Info
-PORTVERSION= 1.12
+PORTVERSION= 1.16
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Image
@@ -15,13 +15,22 @@ PKGNAMEPREFIX= p5-
MAINTAINER= shell@shellhung.org
COMMENT= Perl module for getting image information
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
- ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
+BUILD_DEPENDS= ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
+ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Image::Info.3 Image::Info::BMP.3 Image::Info::SVG.3 \
Image::Info::XBM.3 Image::Info::XPM.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+EXTRA_PATCHES= ${PATCHDIR}/5.005-Info.pm.tmpl ${PATCHDIR}/5.005-lib::Image::Info::PPM.pm
+post-patch:
+ @${RM} -f ${WRKSRC}/lib/Image/Info/PPM.pm.orig
+.endif
+
+.include <bsd.port.post.mk>