]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - Makefile.PL
Update VPIT::TestHelpers to 15e8aee3
[perl/modules/Sub-Op.git] / Makefile.PL
index 6069830e4976897ba31de3c51e1d695ba6db5ecf..86d3e76f4629859183f6065771bbcd16fd52e13a 100644 (file)
@@ -14,7 +14,8 @@ $file = "lib/$file.pm";
 my %PREREQ_PM = (
  'B::Hooks::EndOfScope' => 0,
  'DynaLoader'           => 0,
- 'Variable::Magic'      => '0.39',
+ 'Scalar::Util'         => 0,
+ 'Variable::Magic'      => '0.40',
 );
 
 my %META = (
@@ -23,6 +24,7 @@ my %META = (
   'ExtUtils::MakeMaker' => 0,
  },
  build_requires => {
+  'B::Deparse'          => 0,
   'Cwd'                 => 0,
   'ExtUtils::Depends'   => 0,
   'ExtUtils::MakeMaker' => 0,
@@ -34,7 +36,7 @@ my %META = (
  },
  dynamic_config => 1,
  resources => {
-  bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
+  bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
   homepage   => "http://search.cpan.org/dist/$dist/",
   license    => 'http://dev.perl.org/licenses/',
   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
@@ -63,13 +65,19 @@ WriteMakefile(
  ABSTRACT_FROM    => $file,
  PL_FILES         => {},
  PREREQ_PM        => \%PREREQ_PM,
- MIN_PERL_VERSION => 5.010,
+ MIN_PERL_VERSION => '5.010',
  META_MERGE       => \%META,
  dist             => {
-  PREOP    => "pod2text $file > \$(DISTVNAME)/README",
+  PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
  },
- FUNCLIST         => [ qw/sub_op_register boot_Sub__Op/ ],
+ FUNCLIST         => [ qw[
+  boot_Sub__Op
+  sub_op_init
+  sub_op_register
+  sub_op_dup
+  sub_op_free
+ ] ],
  %ed_vars,
 );
 
@@ -79,6 +87,7 @@ WriteMakefile(
  open my $fh, '>', $args_dat or die "open(>$args_dat): $!";
  for (@ARGV) {
   my $arg = $_;
+  $arg =~ s{\s*(['"])\s*(.*)\s*\1\s*$}{$2}s;
   $arg =~ s{([^=/.a-zA-Z0-9-])}{sprintf "[%d]", ord $1}ge;
   print $fh "$arg\n";
  }