pkgsrc/devel/p5-Module-Install/Makefile

35 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2010/01/17 16:07:45 sno Exp $
DISTNAME= Module-Install-0.91
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
SVR4_PKGNAME= p5moi
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Module-Install/
COMMENT= Perl5 module for building and installing Perl modules
LICENSE= gnu-gpl-v2 # OR artistic
DEPENDS+= {perl>=5.10.1,p5-Archive-Tar>=1.44}:../../archivers/p5-Archive-Tar
DEPENDS+= {perl>=5.10.1,p5-Devel-PPPort>=3.16}:../../devel/p5-Devel-PPPort
DEPENDS+= {perl>=5.10.1,p5-ExtUtils-Install>=1.52}:../../devel/p5-ExtUtils-Install
DEPENDS+= {perl>=5.10.1,p5-ExtUtils-ParseXS>=2.19}:../../devel/p5-ExtUtils-ParseXS
DEPENDS+= p5-File-Remove>=1.42:../../sysutils/p5-File-Remove
DEPENDS+= {perl>=5.10.0,p5-Module-Build>=0.2808}:../../devel/p5-Module-Build
DEPENDS+= {perl>=5.10.1,p5-Module-CoreList>=2.17}:../../devel/p5-Module-CoreList
DEPENDS+= p5-Module-ScanDeps>=0.89:../../devel/p5-Module-ScanDeps
Updated devel/p5-Module-Install to 0.74 0.74 Mon 26 May 2008 - Fix incorrect comparison of module and distribution names (RJBS) - Allow "require" instead of "use" when finding required perl version (RJBS) - Remove the -f Build.PL check, as it was breaking people trying to convert from M:B to M:I or vice versa (MSTROUT) 0.73 Wed 14 May 2008 - Adam Kennedy - Aggressively increase dependencies for authors to make sure all the latest release-time tricks will work properly. (ADAMK) - When generating META.yml where there is an overall Perl version dependency, add a test for unversioned core dependencies that MUST already be satified by the Perl dependency. (ADAMK) - Merged Module::Install MANIFEST.SKIP into the repository default MANIFEST.SKIP file, and deleted the M:I one (ADAMK) 0.72 Tue 15 Apr 2008 - Adam Kennedy - exit(0) on requires_external_bin to make it a real NA (ADAMK) - Change docs to recommend the use of test_requires instead of build_requires. They do the same thing now, but this may change in the future and in that case better people use test_requires now as it is a more accurate description of intent. Also, it reads clearer. (ADAMK) - Removed the command prompt_script, it did some unusual magic and it easy enough to replace with 2 lines of code in the Makefile.PL of anyone using it anyway (ADAMK) - Merged the remaining install_script into Metadata.pm (ADAMK) - Adding documentation about the configure_requires command (ADAMK) - Automatically add any install_share directory to no_index (ADAMK) - Check scripts passed to install_script actually exist (ADAMK) - Allow install_script('foo') to be shorthand for install_script('script/foo') if no root 'foo' file exists. This should allow for yet more typing reduction (ADAMK) - For even more typing reduction, "use inc::Module::Install" now acts as an implicit "use strict", so you don't need to use strict in Makefile.PL (ADAMK) - Fixed a regex bug in name_from (and thus all_from) (ADAMK) 0.71 Mon 24 Mar 2008 - Adam Kennedy - YAML::Tiny is now good enough to use exclusively (ADAMK) - Converted Changes file to my normal format, so that my release automation can deal with it properly (ADAMK) - Added name_from to auto-detect name, and include name_from in all_from, so now no name line is needed at all in the Makefile.PL (ADAMK) - Removed the redundant Module::Install::Makefile::Name and Module::Install::Makefile::Version, they were almost never used and were a bit too magic. (ADAMK) - Adding a "wrote" flag to the M:I object in preparation for making WriteAll implicit by default (ADAMK) - Correcting 01_compile.t to check for 5.004 instead of 5.005 (ADAMK) - Added Module::Install::_version to numify CPAN-like versions properly (ADAMK) - Split TestHelper out as it's own t/lib/Test module (ADAMK) - Upgrade from File::Path::rmtree to File::Remove::remove in the test scripts. (ADAMK) - Various documentation clean ups (ADAMK) - If building in author mode, make sure that auto-generated META.yml files are deleted properly during 'make clean' (ADAMK) 0.70 Tue 18 Mar 2008 - Adam Kennedy - Temporarily restoring auto_install until Matt Trout can craft a replacement for their installdeps needs, and for feature support (ADAMK) 0.69 Sat 15 Mar 2008 - Adam Kennedy - Removing auto_install support (ADAMK) - Removing Build.PL support (ADAMK) - Enabling configure_requires support (ADAMK) - Automatically set a configure_requires for the version of ExtUtils::MakeMaker that the author is running (ADAMK) - Refactoring a number of modules for reduced size (ADAMK) - Add 'share' to the list of directories automatically no_index'ed (ADAMK) - license_from correctly marks "GNU lesser public license" as lgpl, not gpl [rt.cpan.org 24635] (AVAR) - set author mode ($Module::Install::AUTHOR) when first creating ./inc (RJBS) - Don't write perl into PREREQ_PM when using perl_version (ADAMK) 0.68 - Ricardo Signes - The author entry in META.yml is now a sequence, as required
2008-05-28 23:52:04 +02:00
DEPENDS+= p5-PAR-Dist>=0.29:../../devel/p5-PAR-Dist
DEPENDS+= {perl>=5.10.1,p5-PathTools>=3.28}:../../devel/p5-PathTools
DEPENDS+= {perl>=5.10.1,p5-Parse-CPAN-Meta>=1.39}:../../devel/p5-Parse-CPAN-Meta
DEPENDS+= p5-YAML-Tiny>=1.38:../../textproc/p5-YAML-Tiny
DEPENDS+= p5-JSON>=2.14:../../converters/p5-JSON
PERL5_PACKLIST= auto/Module/Install/.packlist
Updated devel/p5-Module-Install to 0.74 0.74 Mon 26 May 2008 - Fix incorrect comparison of module and distribution names (RJBS) - Allow "require" instead of "use" when finding required perl version (RJBS) - Remove the -f Build.PL check, as it was breaking people trying to convert from M:B to M:I or vice versa (MSTROUT) 0.73 Wed 14 May 2008 - Adam Kennedy - Aggressively increase dependencies for authors to make sure all the latest release-time tricks will work properly. (ADAMK) - When generating META.yml where there is an overall Perl version dependency, add a test for unversioned core dependencies that MUST already be satified by the Perl dependency. (ADAMK) - Merged Module::Install MANIFEST.SKIP into the repository default MANIFEST.SKIP file, and deleted the M:I one (ADAMK) 0.72 Tue 15 Apr 2008 - Adam Kennedy - exit(0) on requires_external_bin to make it a real NA (ADAMK) - Change docs to recommend the use of test_requires instead of build_requires. They do the same thing now, but this may change in the future and in that case better people use test_requires now as it is a more accurate description of intent. Also, it reads clearer. (ADAMK) - Removed the command prompt_script, it did some unusual magic and it easy enough to replace with 2 lines of code in the Makefile.PL of anyone using it anyway (ADAMK) - Merged the remaining install_script into Metadata.pm (ADAMK) - Adding documentation about the configure_requires command (ADAMK) - Automatically add any install_share directory to no_index (ADAMK) - Check scripts passed to install_script actually exist (ADAMK) - Allow install_script('foo') to be shorthand for install_script('script/foo') if no root 'foo' file exists. This should allow for yet more typing reduction (ADAMK) - For even more typing reduction, "use inc::Module::Install" now acts as an implicit "use strict", so you don't need to use strict in Makefile.PL (ADAMK) - Fixed a regex bug in name_from (and thus all_from) (ADAMK) 0.71 Mon 24 Mar 2008 - Adam Kennedy - YAML::Tiny is now good enough to use exclusively (ADAMK) - Converted Changes file to my normal format, so that my release automation can deal with it properly (ADAMK) - Added name_from to auto-detect name, and include name_from in all_from, so now no name line is needed at all in the Makefile.PL (ADAMK) - Removed the redundant Module::Install::Makefile::Name and Module::Install::Makefile::Version, they were almost never used and were a bit too magic. (ADAMK) - Adding a "wrote" flag to the M:I object in preparation for making WriteAll implicit by default (ADAMK) - Correcting 01_compile.t to check for 5.004 instead of 5.005 (ADAMK) - Added Module::Install::_version to numify CPAN-like versions properly (ADAMK) - Split TestHelper out as it's own t/lib/Test module (ADAMK) - Upgrade from File::Path::rmtree to File::Remove::remove in the test scripts. (ADAMK) - Various documentation clean ups (ADAMK) - If building in author mode, make sure that auto-generated META.yml files are deleted properly during 'make clean' (ADAMK) 0.70 Tue 18 Mar 2008 - Adam Kennedy - Temporarily restoring auto_install until Matt Trout can craft a replacement for their installdeps needs, and for feature support (ADAMK) 0.69 Sat 15 Mar 2008 - Adam Kennedy - Removing auto_install support (ADAMK) - Removing Build.PL support (ADAMK) - Enabling configure_requires support (ADAMK) - Automatically set a configure_requires for the version of ExtUtils::MakeMaker that the author is running (ADAMK) - Refactoring a number of modules for reduced size (ADAMK) - Add 'share' to the list of directories automatically no_index'ed (ADAMK) - license_from correctly marks "GNU lesser public license" as lgpl, not gpl [rt.cpan.org 24635] (AVAR) - set author mode ($Module::Install::AUTHOR) when first creating ./inc (RJBS) - Don't write perl into PREREQ_PM when using perl_version (ADAMK) 0.68 - Ricardo Signes - The author entry in META.yml is now a sequence, as required
2008-05-28 23:52:04 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"