Updated makefile
[catagits/Catalyst-Runtime.git] / Makefile.PL
CommitLineData
614f3ad6 1use inc::Module::Install;
2
3name('Catalyst');
4abstract('Catalyst Web Framework');
5author('Sebastian Riedel');
6version_from('lib/Catalyst.pm');
7license('perl');
8
9requires( 'perl' => '5.8.1' );
10requires( 'UNIVERSAL::require' => "0.10" );
11requires('Class::Accessor::Fast');
12requires('Class::Data::Inheritable');
13requires('Class::Inspector');
14requires('CGI::Cookie');
15requires('File::Modified');
16requires('HTML::Entities');
17requires( 'HTTP::Body' => 0.5 );
18requires( 'HTTP::Headers' => 1.59 );
19requires('HTTP::Request');
20requires('HTTP::Response');
21requires('HTTP::Request::AsCGI');
22requires('LWP::UserAgent');
23requires('MIME::Types');
24requires( 'Module::Pluggable::Fast' => 0.16 );
25requires('NEXT');
26requires( 'Path::Class' => 0.09 );
27requires('Scalar::Util');
28requires('Template');
29requires('Text::SimpleTable');
30requires('Test::MockObject');
31requires('Time::HiRes');
32requires('Tree::Simple');
33requires('Tree::Simple::Visitor::FindByPath');
34requires( 'URI' => 1.35 );
bb722214 35requires('File::Copy::Recursive');
0afeb5f5 36requires('inc::Module::Install');
07ef6bed 37requires('Module::Build');
614f3ad6 38
39recommends( 'Catalyst::Engine::Apache' => '1.00' );
40recommends('FCGI');
41recommends('FCGI::ProcManager');
42recommends('PAR');
43
44install_script( glob('script/*.pl') );
45
46&WriteAll;
47
48print( '*' x 80, "\n" );
49my $banner =
50 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
51 . " is the greatest and gabb is "
52 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
53 . " again!";
54print " $banner \n";
55print( '*' x 80, "\n" );
56
57print <<'EOF';
58
59 ____ _ _ _
60 / ___|__ _| |_ __ _| |_ _ ___| |_
61 | | / _` | __/ _` | | | | / __| __|
62 | |__| (_| | || (_| | | |_| \__ \ |_
63 \____\__ _|\__\__ _|_|\__ |___/\__|
64 |___/ carpe diem!
65
66EOF
67
68eval "use FCGI";
69print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
70eval "use FCGI::ProcManager";
71print
72 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
73 if ($@);
74eval "use PAR ()";
75print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
76
77print <<"EOF";
78
79 Important:
a5b5152b 80 The Apache engines have been moved to a separate package in Catalyst 5.5.
81 Please install Catalyst::Engine::Apache if you need Apache support.
82
d538823f 83 Install Task::Catalyst to get everything you need to start writing
8878af8a 84 serious applications with Catalyst.
a5b5152b 85
d538823f 86 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 87
88
89 Have fun!
614f3ad6 90EOF