X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=8a7218eaf41141532dca18b0a40f731d1601402c;hp=1ec5dbd24556501dd84d3b32c3cabdc57a96e211;hb=ea0e58d9d85d93bf94c3ffa6b4d7b71b200bbdf1;hpb=57c8e3b417327c2c3ba871b8ecd5e61540a2cf2f diff --git a/Makefile.PL b/Makefile.PL index 1ec5dbd..8a7218e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,70 +1,49 @@ -use inc::Module::Install; +use inc::Module::Install 0.62; -name('Catalyst'); -abstract('Catalyst Web Framework'); -author('Sebastian Riedel'); -version_from('lib/Catalyst.pm'); -license('perl'); +perl_version '5.8.1'; -include('ExtUtils::AutoInstall'); +name 'Catalyst'; +all_from 'lib/Catalyst.pm'; -requires( 'perl' => '5.8.1' ); -requires( 'UNIVERSAL::require' => "0.10" ); -requires('Class::Accessor::Fast'); -requires('Class::Data::Inheritable'); -requires('Class::Inspector'); -requires('CGI::Cookie'); -requires('File::Modified'); -requires('HTML::Entities'); -requires( 'HTTP::Body' => 0.5 ); -requires( 'HTTP::Headers' => 1.59 ); -requires('HTTP::Request'); -requires('HTTP::Response'); -requires('HTTP::Request::AsCGI'); -requires('LWP::UserAgent'); -requires('MIME::Types'); -requires( 'Module::Pluggable::Fast' => 0.16 ); -requires('NEXT'); -requires( 'Path::Class' => 0.09 ); -requires('Scalar::Util'); -requires('Template'); -requires('Text::SimpleTable'); -requires('Test::MockObject'); -requires('Time::HiRes'); -requires('Tree::Simple'); -requires('Tree::Simple::Visitor::FindByPath'); -requires( 'URI' => 1.35 ); -requires('File::Copy::Recursive'); -requires('inc::Module::Install'); -requires('ExtUtils::AutoInstall'); +requires 'perl' => '5.8.1'; +requires 'Carp'; +requires 'Class::Accessor::Fast'; +requires 'Class::Data::Inheritable'; +requires 'Class::Inspector' => '1.06'; +requires 'CGI::Simple::Cookie'; +requires 'Data::Dump'; +requires 'File::Modified'; +requires 'HTML::Entities'; +requires 'HTTP::Body' => '0.5'; +requires 'HTTP::Headers' => '1.64'; +requires 'HTTP::Request'; +requires 'HTTP::Response'; +requires 'HTTP::Request::AsCGI' => '0.5'; +requires 'LWP::UserAgent'; +requires 'Module::Pluggable::Fast' => 0.16; +requires 'NEXT'; +requires 'Path::Class' => '0.09'; +requires 'Scalar::Util'; +requires 'Text::SimpleTable' => '0.03'; +requires 'Time::HiRes'; +requires 'Tree::Simple' => '1.15'; +requires 'Tree::Simple::Visitor::FindByPath'; +requires 'URI' => '1.35'; +requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness -features( - 'Apache/mod_perl Support' => [ - -default => 0, - 'Catalyst::Engine::Apache' => '1.00' - ], - 'FastCGI Support' => [ - -default => 0, - 'FCGI' => 0, - 'FCGI::ProcManager' => 0 - ], - 'PAR Support' => [ - -default => 0, - 'PAR' => 0 - ], - 'CPANPLUS (for easier installations)' => [ - -default => 1, - 'CPANPLUS' => 0 - ], -); +feature 'Apache/mod_perl Support', + -default => 0, + 'Catalyst::Engine::Apache' => '1.05'; -install_script( glob('script/*.pl') ); -auto_install(); -&WriteAll; +feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0; + +install_script glob('script/*.pl'); +WriteAll; print( '*' x 80, "\n" ); my $banner = - (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ] + (qw/andyg chansen draven fordmason mst naughton sri jester + nothingmuch LTJake/)[ int( rand(10) ) ] . " is the greatest and gabb is " . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) . " again!"; @@ -86,6 +65,10 @@ print <<"EOF"; Install Task::Catalyst to get everything you need to start writing serious applications with Catalyst. + Note that Catalyst::Helper has been split into a separate distribution, + and is required for using catalyst.pl to make new distributions. It is + included with Task::Catalyst + perl -MCPANPLUS -e 'install Task::Catalyst' perl -MCPAN -e 'install Task::Catalyst'