From eaedb60beb392c32ba98bf247d7919966f259cf2 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 28 Apr 2017 20:25:19 +0000 Subject: [PATCH] Update to 2.66 - Fix LICENSE - Strip shared library - Clean up and sort PLIST Changes: http://search.cpan.org/dist/GD/ChangeLog --- graphics/p5-GD/Makefile | 12 ++++-- graphics/p5-GD/distinfo | 5 ++- graphics/p5-GD/files/patch-Build.PL | 43 ------------------- graphics/p5-GD/files/patch-Makefile.PL | 59 ++++++++++++++++++++++++++ graphics/p5-GD/pkg-plist | 9 ++-- 5 files changed, 73 insertions(+), 55 deletions(-) delete mode 100644 graphics/p5-GD/files/patch-Build.PL create mode 100644 graphics/p5-GD/files/patch-Makefile.PL diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile index 653ff06ce252..e1b0b624fdea 100644 --- a/graphics/p5-GD/Makefile +++ b/graphics/p5-GD/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= GD -PORTVERSION= 2.56 -PORTREVISION= 4 +PORTVERSION= 2.66 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,12 +9,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to Gd Graphics Library version2 -LICENSE= ART10 GPLv1 GPLv2 GPLv3 +LICENSE= ART20 GPLv1+ LICENSE_COMB= dual +BUILD_DEPENDS= p5-ExtUtils-PkgConfig>=0:devel/p5-ExtUtils-PkgConfig LIB_DEPENDS= libgd.so:graphics/gd +RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 -USE_PERL5= modbuild +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/GD/GD.so .include diff --git a/graphics/p5-GD/distinfo b/graphics/p5-GD/distinfo index a316f22189f6..2390a2cf42e8 100644 --- a/graphics/p5-GD/distinfo +++ b/graphics/p5-GD/distinfo @@ -1,2 +1,3 @@ -SHA256 (GD-2.56.tar.gz) = 1f103d1c98de8621504642ed7fb79f1b40f5f6a63c2abe9390a8ab78617248f9 -SIZE (GD-2.56.tar.gz) = 273441 +TIMESTAMP = 1493375431 +SHA256 (GD-2.66.tar.gz) = ea28343301b82ea862bc58c0c2d1953a074e23cf8d1d09df94c05c52f1c98281 +SIZE (GD-2.66.tar.gz) = 253000 diff --git a/graphics/p5-GD/files/patch-Build.PL b/graphics/p5-GD/files/patch-Build.PL deleted file mode 100644 index a54ac5c7fa66..000000000000 --- a/graphics/p5-GD/files/patch-Build.PL +++ /dev/null @@ -1,43 +0,0 @@ ---- Build.PL.orig 2014-10-28 01:34:54 UTC -+++ Build.PL -@@ -28,40 +28,6 @@ if (-d '/usr/lib64') { - @LIBPATH = (@LIBPATH,@libs64); - } - --############################################################################################# --# Build options passed in to script to support reproducible builds via Makefiles --############################################################################################# --my $result = GetOptions("options=s" => \$options, -- "lib_gd_path=s" => \$lib_gd_path, -- "lib_ft_path=s" => \$lib_ft_path, -- "lib_png_path=s" => \$lib_png_path, -- "lib_jpeg_path=s" => \$lib_jpeg_path, -- "lib_xpm_path=s" => \$lib_xpm_path, -- "lib_zlib_path=s" => \$lib_zlib_path, -- ); --unless ($result) { -- die < \$force, +- "options=s" => \$options, +- "lib_gd_path=s" => \$lib_gd_path, +- "lib_ft_path=s" => \$lib_ft_path, +- "lib_png_path=s" => \$lib_png_path, +- "lib_jpeg_path=s" => \$lib_jpeg_path, +- "lib_xpm_path=s" => \$lib_xpm_path, +- "lib_zlib_path=s" => \$lib_zlib_path, +- "lib_fontconfig_path=s" => \$lib_fontconfig_path, +- "gdlib_config_path=s" => \$gdlib_config_path, +- "fcgi" => \$FCGI, +- ); +- + unless (try_to_autoconfigure() || $force) { + die <