X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7f477f1037e46b23b4576075804e3746ab77172e;hb=c679d24243fa5c592d42afa6c6628c1182944bac;hp=4ff562521320ea0a8919bed2df891cebdcf69242;hpb=fc7ec1d96ee55d1bf42af3abce155ecb717b9e2b;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 4ff5625..7f477f1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,20 +3,30 @@ 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, + Tree::Simple => 0, + Tree::Simple::Visitor::FindByPath => 0, + URI => 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 $@;