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=f0d81209b26c478a13beb1e55414a2e2def9180b;hb=3ea0b7379b121833e9f696b62c2fea3d3876c185;hpb=a268a0112398ac10d8fabd86ed28a183cbe4398e diff --git a/Build.PL b/Build.PL index f0d8120..fdbd1a9 100644 --- a/Build.PL +++ b/Build.PL @@ -1,50 +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, - 'CGI' => 0, - 'Class::Accessor::Fast' => 0, - 'Class::Data::Inheritable' => 0, - 'File::Temp' => 0.14, - 'HTTP::Daemon' => 0, - 'HTML::Entities' => 0, - 'HTTP::Headers' => 0, - 'HTTP::Request' => 0, - 'HTTP::Response' => 0, - 'LWP::UserAgent' => 0, - 'Module::Pluggable::Fast' => 0.16, - 'Path::Class' => 0, - 'Template' => 0, - 'Text::ASCIITable' => 0, - 'Tree::Simple' => 0, - 'Tree::Simple::Visitor::FindByPath' => 0, - 'URI' => 0, - }, - create_makefile_pl => 'passthrough', - script_files => [ glob('script/*') ], - test_files => [ - glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t'), glob('t/*/*/*/*.t') - ] -); -$build->create_build_script; - -print( '*' x 80, "\n" ); -print( - (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ], - " is the greatest and gabb is ", - ( (localtime)[2] > 12 ? "drunk" : "hung over" ), - " again!\n" -); -print( '*' x 80, "\n" ); - -eval "use mod_perl; use Apache::Request"; -print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@; - -eval "use FCGI"; -print qq/Install "FCGI" for FastCGI support.\n/ if $@; +require 'Makefile.PL';