]> git.vpit.fr Git - perl/modules/with.git/blobdiff - Makefile.PL
Put prerequisites in their own separate hash
[perl/modules/with.git] / Makefile.PL
index e899afd8dd3592e784c952ecb0c52e2a775f2a7f..953f57895905918ed8ac3d0e48d3cefdb15e7991 100644 (file)
@@ -6,6 +6,14 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'with';
 
+my %PREREQ_PM = (
+ 'Carp'                 => 0,
+ 'Filter::Util::Call'   => 0,
+ 'Scalar::Util'         => 0,
+ 'Sub::Prototype::Util' => '0.08',
+ 'Text::Balanced'       => 0,
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
@@ -13,12 +21,14 @@ my %META = (
  build_requires => {
   'ExtUtils::MakeMaker' => 0,
   'Test::More'          => 0,
+  %PREREQ_PM,
  },
+ dynamic_config => 0,
  resources => {
   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
   homepage   => "http://search.cpan.org/dist/$dist/",
   license    => 'http://dev.perl.org/licenses/',
-  repository => "http://git.profvince.com/?p=perl/modules/$dist.git",
+  repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
  },
 );
 
@@ -29,13 +39,7 @@ WriteMakefile(
     VERSION_FROM     => 'lib/with.pm',
     ABSTRACT_FROM    => 'lib/with.pm',
     PL_FILES         => {},
-    PREREQ_PM        => {
-        'Carp'                 => 0,
-        'Filter::Util::Call'   => 0,
-        'Scalar::Util'         => 0,
-        'Sub::Prototype::Util' => 0.08,
-        'Text::Balanced'       => 0,
-    },
+    PREREQ_PM        => \%PREREQ_PM,
     MIN_PERL_VERSION => 5.009004,
     META_MERGE       => \%META,
     dist             => {