- Fixes for rt.cpan #17322 and #17331
[catagits/Catalyst-Runtime.git] / Makefile.PL
CommitLineData
022d1311 1use inc::Module::Install;
2
0ba80bce 3perl_version '5.8.1';
4
24b3262a 5name 'Catalyst';
6all_from 'lib/Catalyst.pm';
7
8requires 'perl' => '5.8.1';
9requires 'UNIVERSAL::require' => "0.10";
10requires 'Class::Accessor::Fast';
11requires 'Class::Data::Inheritable';
12requires 'Class::Inspector';
13requires 'CGI::Cookie';
14requires 'File::Modified';
15requires 'HTML::Entities';
16requires 'HTTP::Body' => 0.5;
17requires 'HTTP::Headers' => 1.59;
18requires 'HTTP::Request';
19requires 'HTTP::Response';
ee3c41e3 20requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 21requires 'LWP::UserAgent';
22requires 'MIME::Types';
23requires 'Module::Pluggable::Fast' => 0.16;
24requires 'NEXT';
25requires 'Path::Class' => 0.09;
26requires 'Scalar::Util';
27requires 'Template';
f2777592 28requires 'Text::SimpleTable' => 0.03;
24b3262a 29requires 'Test::MockObject';
adee716c 30requires 'Test::NoWarnings' => 0.082;
24b3262a 31requires 'Time::HiRes';
f22b8975 32requires 'Tree::Simple' => 1.15;
24b3262a 33requires 'Tree::Simple::Visitor::FindByPath';
34requires 'URI' => 1.35;
35requires 'File::Copy::Recursive';
9bf43a66 36requires 'Module::Install::Admin' => '0.54';
0ff7106c 37requires 'Module::Install' => '0.54';
24b3262a 38
39feature 'Apache/mod_perl Support',
40 -default => 0,
ef0955fa 41 'Catalyst::Engine::Apache' => '1.05';
24b3262a 42
43feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0;
614f3ad6 44
24b3262a 45feature 'PAR Support',
46 -default => 0,
47 'PAR' => 0;
614f3ad6 48
24b3262a 49feature 'CPANPLUS (for easier installations)',
50 -default => 0,
51 'CPANPLUS' => 0;
614f3ad6 52
24b3262a 53install_script glob('script/*.pl');
54auto_install;
55WriteAll;
614f3ad6 56
57print( '*' x 80, "\n" );
58my $banner =
59 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
60 . " is the greatest and gabb is "
61 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
62 . " again!";
63print " $banner \n";
64print( '*' x 80, "\n" );
65
614f3ad6 66eval "use FCGI";
67print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
68eval "use FCGI::ProcManager";
69print
70 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
71 if ($@);
72eval "use PAR ()";
73print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
74
75print <<"EOF";
76
77 Important:
d538823f 78 Install Task::Catalyst to get everything you need to start writing
8878af8a 79 serious applications with Catalyst.
a5b5152b 80
e7d20a58 81 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 82 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 83
a5b5152b 84 Have fun!
614f3ad6 85EOF