Big change, new installer and home detection
[catagits/Catalyst-Runtime.git] / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 WriteMakefile(
4     NAME         => 'Catalyst',
5     VERSION_FROM => 'lib/Catalyst.pm',
6     EXE_FILES    => ['script/catalyst.pl'],
7     PREREQ_PM    => {
8         UNIVERSAL::require                => 0,
9         CGI::Simple                       => 0,
10         Class::Accessor::Fast             => 0,
11         Class::Data::Inheritable          => 0,
12         HTTP::Daemon                      => 0,
13         HTML::Entities                    => 0,
14         HTTP::Headers                     => 0,
15         HTTP::Request                     => 0,
16         HTTP::Response                    => 0,
17         LWP::UserAgent                    => 0,
18         Module::Pluggable::Fast           => 0,
19         Path::Class                       => 0,
20         Template                          => 0,
21         Text::ASCIITable                  => 0,
22         Tree::Simple                      => 0,
23         Tree::Simple::Visitor::FindByPath => 0,
24         URI                               => 0,
25     },
26     test => {
27         TESTS => join ' ',
28         (
29             glob('t/*.t'),     glob('t/*/*.t'),
30             glob('t/*/*/*.t'), glob('t/*/*/*/*.t')
31         )
32     }
33 );
34
35 print( '*' x 80, "\n" );
36 print( (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ],
37     " is the greatest and gabb is ", 
38     ((localtime)[2] > 12 ? "drunk" : "hung over"), " again!\n" );
39 print( '*' x 80, "\n" );
40
41 eval "use mod_perl; use Apache::Request";
42 print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@;
43
44 eval "use FCGI";
45 print qq/Install "FCGI" for FastCGI support.\n/ if $@;