]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blobdiff - Makefile.PL
Update the bug tracker URL in META after the rt.perl.org upgrade
[perl/modules/Acme-CPANAuthors-You-re_using.git] / Makefile.PL
index e6b205e1746533b131f700def46b7e78b38e0f98..5633ef6800560d517b6d909d6eed1437ec002284 100644 (file)
@@ -4,10 +4,15 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'Acme-CPANAuthors-You-re_using';
 
+(my $name = $dist) =~ s{-}{::}g;
+
+(my $file = $dist) =~ s{-}{/}g;
+$file = "lib/$file.pm";
+
 my %PREREQ_PM = (
- 'Acme::CPANAuthors'   => 0,
- 'Carp'                => 0,
- 'ExtUtils::Installed' => 0,
+ 'Acme::CPANAuthors' => '0.16',
+ 'File::Find'        => 0,
+ 'Module::Metadata'  => '1.000005',
 );
 
 my %META = (
@@ -15,14 +20,13 @@ my %META = (
   'ExtUtils::MakeMaker' => 0,
  },
  build_requires => {
-  'Acme::CPANAuthors'   => 0,
   'ExtUtils::MakeMaker' => 0,
   'Test::More'          => 0,
   %PREREQ_PM,
  },
  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",
@@ -30,20 +34,20 @@ my %META = (
 );
 
 WriteMakefile(
   NAME             => 'Acme::CPANAuthors::You::re_using',
   AUTHOR           => 'Vincent Pit <perl@profvince.com>',
   LICENSE          => 'perl',
   VERSION_FROM     => 'lib/Acme/CPANAuthors/You/re_using.pm',
   ABSTRACT_FROM    => 'lib/Acme/CPANAuthors/You/re_using.pm',
   PL_FILES         => {},
   PREREQ_PM        => \%PREREQ_PM,
   MIN_PERL_VERSION => 5.006,
   META_MERGE       => \%META,
   dist             => {
-        PREOP    => 'pod2text lib/Acme/CPANAuthors/You/re_using.pm > $(DISTVNAME)/README',
-        COMPRESS => 'gzip -9f', SUFFIX => 'gz'
   },
   clean            => {
-        FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
   },
NAME             => $name,
+ AUTHOR           => 'Vincent Pit <perl@profvince.com>',
+ LICENSE          => 'perl',
VERSION_FROM     => $file,
ABSTRACT_FROM    => $file,
+ PL_FILES         => {},
+ PREREQ_PM        => \%PREREQ_PM,
+ MIN_PERL_VERSION => 5.006,
+ META_MERGE       => \%META,
+ dist             => {
+  PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
+  COMPRESS => 'gzip -9f', SUFFIX => 'gz'
+ },
+ clean            => {
+  FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
+ },
 );