X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=b89c81582b91981a97faf8dfd76c1f452accb64e;hb=c53100232ce0c7d090cdb197c36615a6cac3faff;hp=4ff562521320ea0a8919bed2df891cebdcf69242;hpb=fc7ec1d96ee55d1bf42af3abce155ecb717b9e2b;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 4ff5625..b89c815 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,20 +3,42 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Catalyst', VERSION_FROM => 'lib/Catalyst.pm', - EXE_FILES => ['bin/catalyst'], + EXE_FILES => ['script/catalyst.pl'], PREREQ_PM => { - UNIVERSAL::require => 0, - CGI::Simple => 0, - Class::Accessor::Fast => 0, - Class::Data::Inheritable => 0, - HTML::Entities => 0, - HTTP::Headers => 0, - Module::Pluggable::Fast => 0 + UNIVERSAL::require => 0, + CGI::Simple => 0, + Class::Accessor::Fast => 0, + Class::Data::Inheritable => 0, + HTTP::Daemon => 0, + HTML::Entities => 0, + HTTP::Headers => 0, + HTTP::Request => 0, + HTTP::Response => 0, + LWP::UserAgent => 0, + Module::Pluggable::Fast => 0, + Template => 0, + Text::ASCIITable => 0, + Tree::Simple => 0, + Tree::Simple::Visitor::FindByPath => 0, + URI => 0, + }, + test => { + TESTS => join ' ', + ( + glob('t/*.t'), glob('t/*/*.t'), + glob('t/*/*/*.t'), glob('t/*/*/*/*.t') + ) } ); -my $gabb = - int( rand(2) ) == 1 - ? "Gabbana is the greatest!" - : "Gabbana is drunk again!"; -print "$gabb\n"; +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 $@;