X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FTest-WWW-Mechanize-Catalyst.git;a=blobdiff_plain;f=Makefile.PL;h=9f85bb221ef7d59e79da4b167c4b49b7a1ce1437;hp=61aa05e9b601aa6a38b850b803dbbc6a1b459f24;hb=5b9187afbea95134b41c51a785b2e1d451417f6a;hpb=6bc863629dfa3bec1d938eb5a7af7ef68fd3849f diff --git a/Makefile.PL b/Makefile.PL index 61aa05e..9f85bb2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,23 +1,29 @@ #!perl +use inc::Module::Install 0.87; + 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.54'; +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'); +} + + +resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Test-WWW-Mechanize-Catalyst/trunk/'; + +WriteAll;