From: Vincent Pit Date: Sat, 22 Aug 2009 23:21:01 +0000 (+0200) Subject: Modernize Makefile.PL X-Git-Tag: rt38684~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=15c0e2b32a91bab4f8b2c4e62c841fb923daeef2;p=perl%2Fmodules%2Fre-engine-Plugin.git Modernize Makefile.PL --- diff --git a/Makefile.PL b/Makefile.PL index a18580c..4b1af5f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,44 @@ use 5.009005; use ExtUtils::MakeMaker; +my $dist = 're-engine-Plugin'; + +my %META = ( + configure_requires => { + 'ExtUtils::MakeMaker' => 0, + }, + build_requires => { + 'ExtUtils::MakeMaker' => 0, + 'Test::More' => 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%2Fmodules%2F$dist.git", + }, +); + WriteMakefile( - NAME => 're::engine::Plugin', - AUTHOR => 'Ævar Arnfjörð Bjarmason ', + NAME => 're::engine::Plugin', + AUTHOR => 'Vincent Pit ', + LICENSE => 'perl', ABSTRACT_FROM => 'Plugin.pod', VERSION_FROM => 'Plugin.pm', - LICENSE => 'perl', - test => { + PL_FILES => {}, + PREREQ_PM => { + 'XSLoader' => 0, + }, + MIN_PERL_VERSION => 5.008, + META_MERGE => \%META, + dist => { + PREOP => 'pod2text Plugin.pod > $(DISTVNAME)/README', + COMPRESS => 'gzip -9f', SUFFIX => 'gz' + }, + clean => { + FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" + }, + test => { TESTS => 't/*.t t/*/*.t t/*/*/*.t', }, );