Changed Catalyst::Log to be more compitable with existing modules on CPAN
[catagits/Catalyst-Runtime.git] / Makefile.PL
index 4ff5625..df1ee97 100644 (file)
@@ -3,7 +3,7 @@ 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,
@@ -11,12 +11,16 @@ WriteMakefile(
         Class::Data::Inheritable => 0,
         HTML::Entities           => 0,
         HTTP::Headers            => 0,
+        HTTP::Server::Simple     => '0.04',
         Module::Pluggable::Fast  => 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 $@;