Date: Fri, 28 Apr 2017 20:25:19 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439637 - in head/graphics/p5-GD: . files Message-ID: <201704282025.v3SKPJ0w040496@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Apr 28 20:25:19 2017 New Revision: 439637 URL: https://svnweb.freebsd.org/changeset/ports/439637 Log: Update to 2.66 - Fix LICENSE - Strip shared library - Clean up and sort PLIST Changes: http://search.cpan.org/dist/GD/ChangeLog Added: head/graphics/p5-GD/files/patch-Makefile.PL - copied, changed from r439636, head/graphics/p5-GD/files/patch-Build.PL Deleted: head/graphics/p5-GD/files/patch-Build.PL Modified: head/graphics/p5-GD/Makefile head/graphics/p5-GD/distinfo head/graphics/p5-GD/pkg-plist Modified: head/graphics/p5-GD/Makefile ============================================================================== --- head/graphics/p5-GD/Makefile Fri Apr 28 20:25:14 2017 (r439636) +++ head/graphics/p5-GD/Makefile Fri Apr 28 20:25:19 2017 (r439637) @@ -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 <bsd.port.mk> Modified: head/graphics/p5-GD/distinfo ============================================================================== --- head/graphics/p5-GD/distinfo Fri Apr 28 20:25:14 2017 (r439636) +++ head/graphics/p5-GD/distinfo Fri Apr 28 20:25:19 2017 (r439637) @@ -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 Copied and modified: head/graphics/p5-GD/files/patch-Makefile.PL (from r439636, head/graphics/p5-GD/files/patch-Build.PL) ============================================================================== --- head/graphics/p5-GD/files/patch-Build.PL Fri Apr 28 20:25:14 2017 (r439636, copy source) +++ head/graphics/p5-GD/files/patch-Makefile.PL Fri Apr 28 20:25:19 2017 (r439637) @@ -1,39 +1,55 @@ ---- Build.PL.orig 2014-10-28 01:34:54 UTC -+++ Build.PL -@@ -28,40 +28,6 @@ if (-d '/usr/lib64') { - @LIBPATH = (@LIBPATH,@libs64); - } +--- Makefile.PL.orig 2017-04-23 12:06:14 UTC ++++ Makefile.PL +@@ -20,20 +20,6 @@ my $AUTOCONFIG = 0; # global set by + my ($options,$lib_gd_path,$lib_ft_path,$lib_png_path,$lib_jpeg_path,$lib_xpm_path, + $lib_zlib_path,$lib_fontconfig_path,$force,$FCGI,$gdlib_config_path); --############################################################################################# --# Build options passed in to script to support reproducible builds via Makefiles --############################################################################################# --my $result = GetOptions("options=s" => \$options, +-use Getopt::Long; +-my $result = GetOptions("ignore_missing_gd" => \$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 <<END; + **UNRECOVERABLE ERROR** +@@ -57,35 +43,6 @@ if (-d '/usr/lib64') { + @LIBPATH = (@LIBPATH,@libs64); + } + +-############################################################################################# +-# Build options passed in to script to support reproducible builds via Makefiles +-############################################################################################# -unless ($result) { -- die <<END; --Usage: perl Build.PL [options] +- print STDERR <<END; +-Usage: perl Makefile.PL [options] - -Configure GD module. - - Options: -- -options "JPEG,FT,PNG,GIF,XPM,ANIMGIF" feature options, separated by commas -- -lib_gd_path path path to libgd -- -lib_ft_path path path to Freetype library -- -lib_png_path path path to libpng -- -lib_jpeg_path path path to libjpeg -- -lib_xpm_path path path to libxpm -- -lib_zlib_path path path to libpng -- -ignore_missing_gd Ignore missing or old libgd installations and try to compile anyway +- --options "JPEG,FT,PNG,GIF,XPM,ANIMGIF" feature options, separated by commas +- --lib_gd_path path path to libgd (/usr/lib) +- --lib_ft_path path path to Freetype library (/usr) +- --lib_png_path path path to libpng (/usr) +- --lib_jpeg_path path path to libjpeg (/usr) +- --lib_xpm_path path path to libxpm (/usr) +- --lib_zlib_path path path to libpng (/usr) +- --lib_fontconfig_path path path to libfontconfig (/usr) +- --gdlib_config_path path path to gdlib-config (/usr/bin) +- --ignore_missing_gd Ignore missing or old libgd installations and try to compile anyway +- --fcgi build for FastCGI compatibility, i.e. no PerlIO - -If no options are passed on the command line. The program will --attempt to autoconfigure itself with the gdlib-config program (present --in GD versions 2.0.27 or later). Otherwise it will prompt for these +-attempt to autoconfigure itself with the gdlib-config program or pkgconfig/gdlib.pc +-(present in GD versions 2.0.27 or later). Otherwise it will prompt for these -values interactively. -END -} Modified: head/graphics/p5-GD/pkg-plist ============================================================================== --- head/graphics/p5-GD/pkg-plist Fri Apr 28 20:25:14 2017 (r439636) +++ head/graphics/p5-GD/pkg-plist Fri Apr 28 20:25:19 2017 (r439637) @@ -1,8 +1,4 @@ -@comment bin/README -@comment bin/bdf2gdfont.PLS bin/bdf2gdfont.pl -@comment bin/bdftogd -@comment bin/cvtbdf.pl %%SITE_ARCH%%/GD.pm %%SITE_ARCH%%/GD/Group.pm %%SITE_ARCH%%/GD/Image.pm @@ -10,10 +6,11 @@ bin/bdf2gdfont.pl %%SITE_ARCH%%/GD/Polyline.pm %%SITE_ARCH%%/GD/Simple.pm %%SITE_ARCH%%/auto/GD/GD.so +%%SITE_ARCH%%/auto/GD/autosplit.ix +%%PERL5_MAN1%%/bdf2gdfont.pl.1.gz %%PERL5_MAN3%%/GD.3.gz +%%PERL5_MAN3%%/GD::Group.3.gz %%PERL5_MAN3%%/GD::Image.3.gz %%PERL5_MAN3%%/GD::Polygon.3.gz %%PERL5_MAN3%%/GD::Polyline.3.gz %%PERL5_MAN3%%/GD::Simple.3.gz -@comment %%PERL5_MAN1%%/bdf2gdfont.PLS.1.gz -%%PERL5_MAN1%%/bdf2gdfont.pl.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704282025.v3SKPJ0w040496>