diff options
author | woodsb02 <woodsb02@FreeBSD.org> | 2016-05-27 06:03:18 +0800 |
---|---|---|
committer | woodsb02 <woodsb02@FreeBSD.org> | 2016-05-27 06:03:18 +0800 |
commit | 70cc4ef0aeaa90ada3ff70d373af24878f995f01 (patch) | |
tree | 5fc13d95e984e67924c9c592046dcdb5f5dd5fee /graphics | |
parent | 2a4c9517809eaa092fdfb7519fec91178011b55b (diff) | |
download | freebsd-ports-gnome-70cc4ef0aeaa90ada3ff70d373af24878f995f01.tar.gz freebsd-ports-gnome-70cc4ef0aeaa90ada3ff70d373af24878f995f01.tar.zst freebsd-ports-gnome-70cc4ef0aeaa90ada3ff70d373af24878f995f01.zip |
graphics/p5-Image-Scale: Update to 0.12
- Add graphics/giflib as a dependency to build with GIF support
- Delete patches which aren't needed with the new version
PR: 209719
Approved by: atkin901@gmail.com (maintainer), adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D6580
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/p5-Image-Scale/Makefile | 6 | ||||
-rw-r--r-- | graphics/p5-Image-Scale/distinfo | 5 | ||||
-rw-r--r-- | graphics/p5-Image-Scale/files/patch-Makefile.PL | 10 | ||||
-rw-r--r-- | graphics/p5-Image-Scale/files/patch-src-png.c | 14 |
4 files changed, 6 insertions, 29 deletions
diff --git a/graphics/p5-Image-Scale/Makefile b/graphics/p5-Image-Scale/Makefile index d93d6ac69f29..2ddc69a0db7f 100644 --- a/graphics/p5-Image-Scale/Makefile +++ b/graphics/p5-Image-Scale/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= Image-Scale -PORTVERSION= 0.08 -PORTREVISION= 6 +PORTVERSION= 0.12 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,7 +12,8 @@ COMMENT= Perl module for fast, high-quality fixed-point image resizing LICENSE= GPLv2 -LIB_DEPENDS= libpng.so:graphics/png +LIB_DEPENDS= libgif.so:graphics/giflib \ + libpng.so:graphics/png TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings USES= jpeg perl5 diff --git a/graphics/p5-Image-Scale/distinfo b/graphics/p5-Image-Scale/distinfo index 9dd6c823d9fd..fd5b0e3b3ff3 100644 --- a/graphics/p5-Image-Scale/distinfo +++ b/graphics/p5-Image-Scale/distinfo @@ -1,2 +1,3 @@ -SHA256 (Image-Scale-0.08.tar.gz) = e2dcc90b9954a43dafc7f61bc6dc472382eb719b1046247da5a93cfdd7c3b3e0 -SIZE (Image-Scale-0.08.tar.gz) = 1009824 +TIMESTAMP = 1463928073 +SHA256 (Image-Scale-0.12.tar.gz) = 4b7f0805a8069139a1259fc65dd6378f9fa8ede5e553beb95ce73fcebda7d94a +SIZE (Image-Scale-0.12.tar.gz) = 1012102 diff --git a/graphics/p5-Image-Scale/files/patch-Makefile.PL b/graphics/p5-Image-Scale/files/patch-Makefile.PL deleted file mode 100644 index 1e1ed2fd39a9..000000000000 --- a/graphics/p5-Image-Scale/files/patch-Makefile.PL +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.PL 2015-02-23 09:23:19.000000000 -0800 -+++ Makefile.PL 2015-02-23 09:24:02.000000000 -0800 -@@ -144,6 +144,7 @@ - - # Look for libgif - for my $incdir ( $gif_inc, @check ) { -+ last; - if ( $incdir && -e catfile($incdir, 'gif_lib.h') ) { - $GIF = 1; - $gif_inc = $incdir; diff --git a/graphics/p5-Image-Scale/files/patch-src-png.c b/graphics/p5-Image-Scale/files/patch-src-png.c deleted file mode 100644 index 737b6a67fb16..000000000000 --- a/graphics/p5-Image-Scale/files/patch-src-png.c +++ /dev/null @@ -1,14 +0,0 @@ ---- src/png.c 2011-07-12 01:03:28.000000000 +1000 -+++ src/png.c 2012-10-04 01:53:55.000000000 +1000 -@@ -40,7 +40,7 @@ - } - } - -- png_memcpy(data, buffer_ptr(im->buf), len); -+ memcpy(data, buffer_ptr(im->buf), len); - buffer_consume(im->buf, len); - - goto ok; - - - |