]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/blobdiff - Makefile.PL
Stop bundling author tests
[perl/modules/CPANPLUS-Dist-Gentoo.git] / Makefile.PL
index ebf53b2a5f1db7a85d364826d37b31fa38f99e3f..f2375ac20d96e6500d3c0542b3be20ef9b77a6ba 100644 (file)
@@ -21,6 +21,7 @@ my %PREREQ_PM = (
  'File::Spec'        => 0,
  'IPC::Cmd'          => 0,
  'Parse::CPAN::Meta' => 0,
+ 'Scalar::Util'      => 0,
  'base'              => 0,
 );
 
@@ -35,7 +36,7 @@ my %META = (
  },
  dynamic_config => 0,
  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",
@@ -53,10 +54,19 @@ WriteMakefile(
  MIN_PERL_VERSION => 5.006,
  META_MERGE       => \%META,
  dist             => {
-  PREOP    => "pod2text $file > \$(DISTVNAME)/README",
+  PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
  },
  clean            => {
   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
  },
 );
+
+package MY;
+
+sub postamble {
+ <<POSTAMBLE
+regen:
+       \$(PERL) samples/gengentooisms
+POSTAMBLE
+}