fixed makefile
[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         Text::ASCIITable                  => 0,
20         Tree::Simple                      => 0,
21         Tree::Simple::Visitor::FindByPath => 0,
22         URI                               => 0,
23     },
24     test => {
25         TESTS => join ' ',
26         (
27             glob('t/*.t'),     glob('t/*/*.t'),
28             glob('t/*/*/*.t'), glob('t/*/*/*/*.t')
29         )
30     }
31 );
32
33 print( '*' x 80, "\n" );
34 print( (qw/draven fordmason naughton sri the_jester/)[ int( rand(5) ) ],
35     " is the greatest,\n" );
36 print "chansen is punishing us\n";
37 print "and gabb is drunk again!\n";
38 print( '*' x 80, "\n" );
39
40 eval "use mod_perl; use Apache::Request";
41 print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@;
42
43 eval "use FCGI";
44 print qq/Install "FCGI" for FastCGI support.\n/ if $@;