diff options
author | sno <sno> | 2012-10-19 07:50:56 +0000 |
---|---|---|
committer | sno <sno> | 2012-10-19 07:50:56 +0000 |
commit | ff7aef8d5fe95e62d3c9006ff75a79a0ec90707e (patch) | |
tree | 88f8ae46e1dff2fc251f6fede0d4ef0943a945ea /devel/p5-Package-Variant | |
parent | 20c241b6a574ce952708b1890ba177072668ce5b (diff) | |
download | pkgsrc-ff7aef8d5fe95e62d3c9006ff75a79a0ec90707e.tar.gz |
Adding new package for CPAN module Package::Variant version 1.001002
into devel/p5-Package-Variant.
This module allows you to build packages that return different variations
depending on what parameters are given.
Users of your package will receive a subroutine able to take parameters and
return the name of a suitable variant package. The implmenetation does not
care about what kind of package it builds.
Diffstat (limited to 'devel/p5-Package-Variant')
-rw-r--r-- | devel/p5-Package-Variant/DESCR | 6 | ||||
-rw-r--r-- | devel/p5-Package-Variant/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-Package-Variant/distinfo | 6 | ||||
-rw-r--r-- | devel/p5-Package-Variant/patches/patch-aa | 15 |
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Package-Variant/DESCR b/devel/p5-Package-Variant/DESCR new file mode 100644 index 00000000000..f7729e4cd23 --- /dev/null +++ b/devel/p5-Package-Variant/DESCR @@ -0,0 +1,6 @@ +This module allows you to build packages that return different variations +depending on what parameters are given. + +Users of your package will receive a subroutine able to take parameters and +return the name of a suitable variant package. The implmenetation does not +care about what kind of package it builds. diff --git a/devel/p5-Package-Variant/Makefile b/devel/p5-Package-Variant/Makefile new file mode 100644 index 00000000000..2d873b714fe --- /dev/null +++ b/devel/p5-Package-Variant/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2012/10/19 07:50:56 sno Exp $ +# + +DISTNAME= Package-Variant-1.001002 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Package/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Package-Variant/ +COMMENT= Perl5 module wrapper for parameterizable packages +LICENSE= ${PERL5_LICENSE} + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= p5-Import-Into>=1.0:../../devel/p5-Import-Into +DEPENDS+= p5-Module-Runtime>=0.13:../../devel/p5-Module-Runtime +DEPENDS+= p5-strictures>=1.0:../../devel/p5-strictures + +BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal + +PERL5_PACKLIST= auto/Package/Variant/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Package-Variant/distinfo b/devel/p5-Package-Variant/distinfo new file mode 100644 index 00000000000..98eaef722f0 --- /dev/null +++ b/devel/p5-Package-Variant/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2012/10/19 07:50:56 sno Exp $ + +SHA1 (Package-Variant-1.001002.tar.gz) = 0fc13842c06807b63d38db616215e84a8621e7c0 +RMD160 (Package-Variant-1.001002.tar.gz) = 488d73420e16d98c572b1cfc0607af3b628893bc +Size (Package-Variant-1.001002.tar.gz) = 8069 bytes +SHA1 (patch-aa) = 94fdf9cea2746a70cbc2e8bb102c4af6f498385a diff --git a/devel/p5-Package-Variant/patches/patch-aa b/devel/p5-Package-Variant/patches/patch-aa new file mode 100644 index 00000000000..b4e6a331f72 --- /dev/null +++ b/devel/p5-Package-Variant/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2012/10/19 07:50:57 sno Exp $ + +# fix module name for proper .packlist location + +--- Makefile.PL.orig 2012-09-19 19:48:28.000000000 +0000 ++++ Makefile.PL +@@ -5,7 +5,7 @@ use ExtUtils::MakeMaker; + (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; + + WriteMakefile( +- NAME => 'Package-Variant', ++ NAME => 'Package::Variant', + VERSION_FROM => 'lib/Package/Variant.pm', + CONFIGURE_REQUIRES => { + 'ExtUtils::MakeMaker' => '6.55_01', # for BUILD_REQUIRES |