Adding prereq for fixed Module::Install
[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';
e5156d4f 35requires 'Module::Install' => '0.54';
3c5cb509 36requires 'YAML' => '0.52';
24b3262a 37
38feature 'Apache/mod_perl Support',
39 -default => 0,
ef0955fa 40 'Catalyst::Engine::Apache' => '1.05';
24b3262a 41
42feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0;
614f3ad6 43
24b3262a 44feature 'PAR Support',
45 -default => 0,
46 'PAR' => 0;
614f3ad6 47
24b3262a 48feature 'CPANPLUS (for easier installations)',
49 -default => 0,
50 'CPANPLUS' => 0;
614f3ad6 51
24b3262a 52install_script glob('script/*.pl');
53auto_install;
54WriteAll;
614f3ad6 55
56print( '*' x 80, "\n" );
57my $banner =
58 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
59 . " is the greatest and gabb is "
60 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
61 . " again!";
62print " $banner \n";
63print( '*' x 80, "\n" );
64
614f3ad6 65eval "use FCGI";
66print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
67eval "use FCGI::ProcManager";
68print
69 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
70 if ($@);
71eval "use PAR ()";
72print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
73
74print <<"EOF";
75
76 Important:
d538823f 77 Install Task::Catalyst to get everything you need to start writing
8878af8a 78 serious applications with Catalyst.
a5b5152b 79
e7d20a58 80 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 81 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 82
a5b5152b 83 Have fun!
614f3ad6 84EOF