aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Size
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-07-01 23:53:23 +0800
committeraaron <aaron@FreeBSD.org>2006-07-01 23:53:23 +0800
commit477cfc31731726c702c9f0fbb4514056da313e35 (patch)
tree4e15a49b41ed6744a5eea49d1ab71e0a58b881f3 /graphics/p5-Image-Size
parentc5b4249ff88c9a32f1abbc675a0f5addae86c7b0 (diff)
downloadfreebsd-ports-gnome-477cfc31731726c702c9f0fbb4514056da313e35.tar.gz
freebsd-ports-gnome-477cfc31731726c702c9f0fbb4514056da313e35.tar.zst
freebsd-ports-gnome-477cfc31731726c702c9f0fbb4514056da313e35.zip
- Update to 3.0
PR: ports/99025 Submitted by: aaron Approved by: maintainer timeout, tobez (implicit)
Diffstat (limited to 'graphics/p5-Image-Size')
-rw-r--r--graphics/p5-Image-Size/Makefile13
-rw-r--r--graphics/p5-Image-Size/distinfo6
-rw-r--r--graphics/p5-Image-Size/pkg-plist8
3 files changed, 18 insertions, 9 deletions
diff --git a/graphics/p5-Image-Size/Makefile b/graphics/p5-Image-Size/Makefile
index 9d1d9a30cbfa..c2266831be1a 100644
--- a/graphics/p5-Image-Size/Makefile
+++ b/graphics/p5-Image-Size/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Image-Size
-PORTVERSION= 2.992
+PORTVERSION= 3.0
CATEGORIES= graphics www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Image
@@ -15,9 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tolid@plab.ku.dk
COMMENT= Perl5 module to determine the size of images in several common formats
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= YES
MAN1= imgsize.1
MAN3= Image::Size.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-Image-Size/distinfo b/graphics/p5-Image-Size/distinfo
index b55a30273d6c..dc4d28386fc4 100644
--- a/graphics/p5-Image-Size/distinfo
+++ b/graphics/p5-Image-Size/distinfo
@@ -1,3 +1,3 @@
-MD5 (Image-Size-2.992.tar.gz) = 2e278c39a9379f5fefaf6eb288208bd8
-SHA256 (Image-Size-2.992.tar.gz) = 5216cddfaefeb49dc52b641588c5143a3f5be6100725b70fcb8ca2263bed604c
-SIZE (Image-Size-2.992.tar.gz) = 123479
+MD5 (Image-Size-3.0.tar.gz) = f77eba3d3e5ac6efcc6058f527bb180f
+SHA256 (Image-Size-3.0.tar.gz) = 7c724a3f17925bad4637c67bc973e7990031c1d496db7501528e76a43f7101f2
+SIZE (Image-Size-3.0.tar.gz) = 137930
diff --git a/graphics/p5-Image-Size/pkg-plist b/graphics/p5-Image-Size/pkg-plist
index 9536e50f0888..d1a7cb623779 100644
--- a/graphics/p5-Image-Size/pkg-plist
+++ b/graphics/p5-Image-Size/pkg-plist
@@ -1,5 +1,4 @@
bin/imgsize
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Size/.packlist
%%SITE_PERL%%/Image/Size.pm
%%SITE_PERL%%/auto/Image/Size/autosplit.ix
%%SITE_PERL%%/auto/Image/Size/bmpsize.al
@@ -10,13 +9,14 @@ bin/imgsize
%%SITE_PERL%%/auto/Image/Size/pngsize.al
%%SITE_PERL%%/auto/Image/Size/ppmsize.al
%%SITE_PERL%%/auto/Image/Size/psdsize.al
-%%SITE_PERL%%/auto/Image/Size/swfsize.al
%%SITE_PERL%%/auto/Image/Size/swfmxsize.al
+%%SITE_PERL%%/auto/Image/Size/swfsize.al
%%SITE_PERL%%/auto/Image/Size/tiffsize.al
%%SITE_PERL%%/auto/Image/Size/xbmsize.al
%%SITE_PERL%%/auto/Image/Size/xpmsize.al
-@dirrm %%SITE_PERL%%/auto/Image/Size
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Size/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Size
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
+@dirrm %%SITE_PERL%%/auto/Image/Size
@dirrmtry %%SITE_PERL%%/auto/Image
@dirrmtry %%SITE_PERL%%/Image
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image