X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git;a=blobdiff_plain;f=Makefile.PL;h=4e4827e4dfcf175b142d4e99ab1d9b2123c67a47;hp=77f72e59f52b738c26c8579adb99142b3a62b8ff;hb=HEAD;hpb=b86bd0fbe217b8396d577f1069ab7fab35fba4cf diff --git a/Makefile.PL b/Makefile.PL index 77f72e5..4e4827e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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", @@ -43,20 +44,29 @@ my %META = ( ); WriteMakefile( - NAME => $name, - AUTHOR => 'Vincent Pit ', - 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 $file > \$(DISTVNAME)/README", - COMPRESS => 'gzip -9f', SUFFIX => 'gz' - }, - clean => { - FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" - }, + NAME => $name, + AUTHOR => 'Vincent Pit ', + 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" + }, ); + +package MY; + +sub postamble { + <