X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=241ab374db7bbf64f9f95b71e414711103645694;hb=b1eac6af9fec799e2372932a5a5091e5d2c315f4;hp=8a7218eaf41141532dca18b0a40f731d1601402c;hpb=ea0e58d9d85d93bf94c3ffa6b4d7b71b200bbdf1;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 8a7218e..241ab37 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,9 @@ -use inc::Module::Install 0.62; +use inc::Module::Install 0.64; perl_version '5.8.1'; -name 'Catalyst'; -all_from 'lib/Catalyst.pm'; +name 'Catalyst-Runtime'; +all_from 'lib/Catalyst/Runtime.pm'; requires 'perl' => '5.8.1'; requires 'Carp'; @@ -20,7 +20,7 @@ requires 'HTTP::Request'; requires 'HTTP::Response'; requires 'HTTP::Request::AsCGI' => '0.5'; requires 'LWP::UserAgent'; -requires 'Module::Pluggable::Fast' => 0.16; +requires 'Module::Pluggable' => '3.01'; requires 'NEXT'; requires 'Path::Class' => '0.09'; requires 'Scalar::Util'; @@ -37,18 +37,21 @@ feature 'Apache/mod_perl Support', feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0; +feature 'PAR support', -default => 0, 'PAR' => 0; + install_script glob('script/*.pl'); +auto_install; WriteAll; -print( '*' x 80, "\n" ); +print( '*' x 74, "\n" ); my $banner = (qw/andyg chansen draven fordmason mst naughton sri jester - nothingmuch LTJake/)[ int( rand(10) ) ] + nothingmuch LTjake/)[ int( rand(10) ) ] . " is the greatest and gabb is " . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) . " again!"; print " $banner \n"; -print( '*' x 80, "\n" ); +print( '*' x 74, "\n" ); eval "use FCGI"; print qq/ Install "FCGI" for FastCGI support.\n/ if $@; @@ -62,15 +65,17 @@ print qq/ Install "PAR" for PAR packaging support.\n/ if $@; print <<"EOF"; Important: - 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 + This library is for running Catalyst applications. + + For development and use of catalyst.pl and myapp_create.pl, make sure + you also install the development tools package Catalyst::Devel. + + perl -MCPANPLUS -e 'install Catalyst::Devel' # or + perl -MCPAN -e 'install Catalyst::Devel' - perl -MCPANPLUS -e 'install Task::Catalyst' - perl -MCPAN -e 'install Task::Catalyst' + To get some commonly used plugins, as well as the TT view and DBIC + model, install Task::Catalyst in the same way. Have fun! EOF