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