X-Git-Url: http://git.rot13.org/?p=MARC-Fast;a=blobdiff_plain;f=Makefile.PL;h=7cd00f1756f03155154235e0777af7f1e48768f9;hp=e5b691a756f080e7f5dc4165a96d8ae475e93eff;hb=ba7f6ac0e66a6b8090255b9527393639e7cce860;hpb=5c5233ec1192462b4f0e5d30ba274f1b09cc69fc diff --git a/Makefile.PL b/Makefile.PL index e5b691a..7cd00f1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,12 +3,39 @@ use ExtUtils::MakeMaker; # the contents of the Makefile that is written. WriteMakefile( NAME => 'MARC::Fast', - VERSION_FROM => 'Fast.pm', # finds $VERSION + VERSION_FROM => 'lib/MARC/Fast.pm', # finds $VERSION AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)', ABSTRACT => '', PREREQ_PM => { 'Test::Simple' => 0.44, - 'Test::Exception' => 0, + 'Data::Dump' => 0, 'Carp' => 0, }, + META_MERGE => { + resources => { + license => 'http://www.gnu.org/licenses/gpl-2.0.html', + bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=MARC-Fast', + repository => 'http://github.com/dpavlin/MARC-Fast' + }, + }, ); + +sub MY::postamble { + return <<'MAKE_MORE'; + +changelog: + git log > Changes + +cpan: + make clean + rm -f MARC-Fast-*.tar.gz + perl Makefile.PL + make changelog + make dist + make disttest + @echo + @echo -n "Upload" MARC-Fast-*.tar.gz "to CPAN? [y/N]:" + @read upload && test "$$upload" == "y" && cpan-upload -verbose MARC-Fast-*.tar.gz + +MAKE_MORE +}