pkgsrc/graphics/p5-Image-Size/Makefile

23 lines
634 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2008/10/19 19:18:10 he Exp $
#
- updated to 3.1.1 - added dependency to devel/p5-Compress-Zlib ChangeLog: * Updated the license information to make sure all references are to both the Artistic 2.0 and the LGPL. * Changed "use 5.6.0" lines to no longer use v-strings, for forward compatibility with Perl 5.10.0. * Added "recommends" specification to Build.PL to refer to modules used in the testing phase (there is no "build_recommends" setting). * Added Compress::Zlib to the list of required modules in Makefile.PL and Build.PL. * Added "use warnings" to Size.pm to make sure it stays warnings-clean. Changes in 3.1: * Small change from n@shaplov.ru for a bug in CWS handling that only surfaced when two CWS files were sized consecutively. * Updated the date on the copyright notice and added a "COPYRIGHT" section to the documentation. * Changed the licensing terms. This is now dual-licensed under Artistic 2.0 and LGPL 2.1. * Restored the old Makefile.PL for users who don't have Module::Build. Changes in 3.01: * Added ex/ directory with a few samples. * Dropped ExtUtils::MakeMaker and switched to Module::Build. Makefile.PL is now a wrapper of sorts around Build.PL. This allows adding licensing information to META.yml for CPAN indexing. Changes in 3.0: * Added test suites for POD correctness and POD coverage. * Implemented and documented a flag called $Image::Size::GIF_BEHAVIOR that controls whether the GIF code returns the screensize, the first sub-image or the largest of the sub-images. * Applied a patch from mrj@mrj.spb.ru to fix usage of the Compress::Zlib module in the handling of compressed flash files. Added a new SWF file to test this, and added reference to the file in MANIFEST and t/all.t. * Delay Image::Magick loading until it is needed. (Mark Stosberg). Add support for Graphics::Magick as an alternative to Image::Magick. If either Graphics::Magick or Image::Magick is loaded into memory that module will be used. Otherwise, they are both tried to be loaded, with Graphics::Magick being tried first. (Mark Stosberg). This patch also adds a new test suite, t/magick.t, to the distribution and modifies both MANIFEST and Makefile.PL (to add a build-dependancy on Test::More). * With Test::More now required for building, converted t/all.t to use it.
2008-07-18 17:07:13 +02:00
DISTNAME= Image-Size-3.1.1
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
SVR4_PKGNAME= p5isi
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Image/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Image-Size/
COMMENT= Read the dimensions of an image in several popular formats
PKG_INSTALLATION_TYPES= overwrite pkgviews
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
- updated to 3.1.1 - added dependency to devel/p5-Compress-Zlib ChangeLog: * Updated the license information to make sure all references are to both the Artistic 2.0 and the LGPL. * Changed "use 5.6.0" lines to no longer use v-strings, for forward compatibility with Perl 5.10.0. * Added "recommends" specification to Build.PL to refer to modules used in the testing phase (there is no "build_recommends" setting). * Added Compress::Zlib to the list of required modules in Makefile.PL and Build.PL. * Added "use warnings" to Size.pm to make sure it stays warnings-clean. Changes in 3.1: * Small change from n@shaplov.ru for a bug in CWS handling that only surfaced when two CWS files were sized consecutively. * Updated the date on the copyright notice and added a "COPYRIGHT" section to the documentation. * Changed the licensing terms. This is now dual-licensed under Artistic 2.0 and LGPL 2.1. * Restored the old Makefile.PL for users who don't have Module::Build. Changes in 3.01: * Added ex/ directory with a few samples. * Dropped ExtUtils::MakeMaker and switched to Module::Build. Makefile.PL is now a wrapper of sorts around Build.PL. This allows adding licensing information to META.yml for CPAN indexing. Changes in 3.0: * Added test suites for POD correctness and POD coverage. * Implemented and documented a flag called $Image::Size::GIF_BEHAVIOR that controls whether the GIF code returns the screensize, the first sub-image or the largest of the sub-images. * Applied a patch from mrj@mrj.spb.ru to fix usage of the Compress::Zlib module in the handling of compressed flash files. Added a new SWF file to test this, and added reference to the file in MANIFEST and t/all.t. * Delay Image::Magick loading until it is needed. (Mark Stosberg). Add support for Graphics::Magick as an alternative to Image::Magick. If either Graphics::Magick or Image::Magick is loaded into memory that module will be used. Otherwise, they are both tried to be loaded, with Graphics::Magick being tried first. (Mark Stosberg). This patch also adds a new test suite, t/magick.t, to the distribution and modifies both MANIFEST and Makefile.PL (to add a build-dependancy on Test::More). * With Test::More now required for building, converted t/all.t to use it.
2008-07-18 17:07:13 +02:00
DEPENDS+= p5-Compress-Zlib>=2:../../devel/p5-Compress-Zlib
PERL5_PACKLIST= auto/Image/Size/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"