clean up prereqs
[catagits/Catalyst-Runtime.git] / Makefile.PL
CommitLineData
c81ae4e1 1use inc::Module::Install 0.62;
022d1311 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";
9ce44430 10requires 'Carp';
24b3262a 11requires 'Class::Accessor::Fast';
12requires 'Class::Data::Inheritable';
f63c03e4 13requires 'Class::Inspector' => '1.06';
24b3262a 14requires 'CGI::Cookie';
f63c03e4 15requires 'Data::Dump';
24b3262a 16requires 'File::Modified';
17requires 'HTML::Entities';
18requires 'HTTP::Body' => 0.5;
c4bbf4de 19requires 'HTTP::Headers' => 1.64;
24b3262a 20requires 'HTTP::Request';
21requires 'HTTP::Response';
ee3c41e3 22requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 23requires 'LWP::UserAgent';
24b3262a 24requires 'Module::Pluggable::Fast' => 0.16;
25requires 'NEXT';
26requires 'Path::Class' => 0.09;
27requires 'Scalar::Util';
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';
c81ae4e1 36requires 'Module::Install::Admin' => '0.62';
37requires 'Module::Install' => '0.62';
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');
24b3262a 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
f63c03e4 80 Note that Catalyst::Helper has been split into a separate distribution,
81 and is required for using catalyst.pl to make new distributions. It is
82 included with Task::Catalyst
83
e7d20a58 84 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 85 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 86
a5b5152b 87 Have fun!
614f3ad6 88EOF