X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Build.PL;h=fdbd1a93e8edc177573b397b9e53b98f5a047f03;hp=471b1b65abc90d315dea2377ba6517a455a150c0;hb=e63e8323d236b89babd06838c60881785154a600;hpb=5898abaea5875aef033ad367d24aaf134090359a diff --git a/Build.PL b/Build.PL index 471b1b6..fdbd1a9 100644 --- a/Build.PL +++ b/Build.PL @@ -1,70 +1 @@ -use strict; -use Module::Build; - -my $build = Module::Build->new( - create_makefile_pl => 'passthrough', - license => 'perl', - module_name => 'Catalyst', - requires => { - 'perl' => '5.8.1', - 'UNIVERSAL::require' => "0.10", - 'Class::Accessor::Fast' => 0, - 'Class::Data::Inheritable' => 0, - 'CGI::Cookie' => 0, - 'HTML::Entities' => 0, - 'HTTP::Body' => 0.03, - 'HTTP::Headers' => 1.59, - 'HTTP::Request' => 0, - 'HTTP::Response' => 0, - 'LWP::UserAgent' => 0, - 'MIME::Types' => 0, - 'Module::Pluggable::Fast' => 0.16, - 'NEXT' => 0, - 'Path::Class' => 0.09, - 'Scalar::Util' => 0, - 'Template' => 0, - 'Text::ASCIITable' => 0.17, - 'Test::MockObject' => 0, - 'Tree::Simple' => 0, - 'Tree::Simple::Visitor::FindByPath' => 0, - 'URI' => 1.35, - }, - recommends => - { 'Catalyst::Engine::Apache' => 0, FCGI => 0, 'FCGI::ProcManager' => 0 }, - create_makefile_pl => 'passthrough', - create_readme => 1, - script_files => [ glob('script/*') ], - test_files => [ - glob('t/*.t'), glob('t/*/*.t'), - glob('t/*/*/*.t'), glob('t/*/*/*/*.t'), - glob('t/*/*/*/*/*.t') - ] -); -$build->create_build_script; - -print( '*' x 80, "\n" ); -print( - (qw/andyg chansen draven fordmason mst naughton sri jester/) - [ int( rand(8) ) ], - " is the greatest and gabb is ", - ( (localtime)[2] > 12 ? "drunk" : "hung over" ), - " again!\n" -); -print( '*' x 80, "\n" ); - -eval "use FCGI"; -if ($@) { - print qq/Install "FCGI" for FastCGI support.\n/; -} -else { - eval "use FCGI::ProcManager"; - print -qq/Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ - if ($@); -} - -print qq/ -*** IMPORTANT NOTE: *** -The Apache engines have been moved to a separate package in Catalyst 5.5. -Please install Catalyst::Engine::Apache if you need Apache support. -/; +require 'Makefile.PL';