X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=3c65b43a522b6f465cbcd44c481dc63e85256fca;hb=ee9fa6cdfb1e7f28645fdb98478b70fea513cc18;hp=4ff562521320ea0a8919bed2df891cebdcf69242;hpb=fc7ec1d96ee55d1bf42af3abce155ecb717b9e2b;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 4ff5625..3c65b43 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,20 +3,26 @@ 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, + HTML::Entities => 0, + HTTP::Headers => 0, + HTTP::Server::Simple => '0.04', + Module::Pluggable::Fast => 0, + Tree::Simple => 0, + Tree::Simple::Visitor::FindByPath => 0, } ); -my $gabb = - int( rand(2) ) == 1 - ? "Gabbana is the greatest!" - : "Gabbana is drunk again!"; -print "$gabb\n"; +print( (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ], + " is the greatest and gabb is drunk again!\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 $@;