X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=83e80c7e0013d6eadbb1d6c8d12c1b22d14df22d;hb=cfd812d6df038fa098c69af4e8a80e0342e7b1ce;hp=61aa05e9b601aa6a38b850b803dbbc6a1b459f24;hpb=6bc863629dfa3bec1d938eb5a7af7ef68fd3849f;p=catagits%2FTest-WWW-Mechanize-Catalyst.git diff --git a/Makefile.PL b/Makefile.PL index 61aa05e..83e80c7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,23 +1,27 @@ #!perl +use inc::Module::Install 0.79; + use strict; use warnings; -use ExtUtils::MakeMaker; -WriteMakefile( - 'NAME' => 'Test::WWW::Mechanize::Catalyst', - 'VERSION_FROM' => 'lib/Test/WWW/Mechanize/Catalyst.pm', - 'AUTHOR' => 'Leon Brocard ', - 'ABSTRACT' => 'Test::WWW::Mechanize for Catalyst', - 'LICENSE' => 'perl', - 'PREREQ_PM' => { - 'Catalyst' => '5.00', - 'Catalyst::Plugin::Session::State::Cookie' => '0', - 'Catalyst::Plugin::Session::Store::Dummy' => '0', - 'LWP' => '5.816', - 'Test::Exception' => '0', - 'Test::More' => '0', - 'Test::WWW::Mechanize' => '1.14', - 'WWW::Mechanize' => '1.50', - }, -); +name 'Test-WWW-Mechanize-Catalyst'; +all_from 'lib/Test/WWW/Mechanize/Catalyst.pm'; + +requires 'Catalyst' => '5.00'; +requires 'LWP' => '5.816'; +requires 'Test::WWW::Mechanize' => '1.14'; +requires 'WWW::Mechanize' => '1.50'; +requires 'Moose' => '0.67'; +requires 'namespace::clean' => '0.09'; + +test_requires 'Catalyst::Plugin::Session::State::Cookie' => '0'; +test_requires 'Catalyst::Plugin::Session::Store::Dummy' => '0'; +test_requires 'Test::Exception' => '0'; +test_requires 'Test::More' => '0'; + +if ($Module::Install::AUTHOR) { + system('pod2text lib/Test/WWW/Mechanize/Catalyst.pm > README'); +} + +WriteAll;