prepare for yet another bugfix release.
[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";
9ce44430 10requires 'Carp';
24b3262a 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;
c4bbf4de 18requires 'HTTP::Headers' => 1.64;
24b3262a 19requires 'HTTP::Request';
20requires 'HTTP::Response';
ee3c41e3 21requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 22requires 'LWP::UserAgent';
23requires 'MIME::Types';
24requires 'Module::Pluggable::Fast' => 0.16;
25requires 'NEXT';
26requires 'Path::Class' => 0.09;
27requires 'Scalar::Util';
28requires 'Template';
f2777592 29requires 'Text::SimpleTable' => 0.03;
24b3262a 30requires 'Test::MockObject';
adee716c 31requires 'Test::NoWarnings' => 0.082;
24b3262a 32requires 'Time::HiRes';
f22b8975 33requires 'Tree::Simple' => 1.15;
24b3262a 34requires 'Tree::Simple::Visitor::FindByPath';
35requires 'URI' => 1.35;
36requires 'File::Copy::Recursive';
9bf43a66 37requires 'Module::Install::Admin' => '0.54';
0ff7106c 38requires 'Module::Install' => '0.54';
a6ad13b6 39requires 'YAML' => '0.55';
3736410f 40requires 'Data::Visitor' => '0.02';
24b3262a 41
42feature 'Apache/mod_perl Support',
43 -default => 0,
ef0955fa 44 'Catalyst::Engine::Apache' => '1.05';
24b3262a 45
46feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0;
614f3ad6 47
3736410f 48feature 'Test::WWW::Mechanize::Catalyst Support',
49 -default => 0,
50 'Test::WWW::Mechanize::Catalyst' => 0;
51
24b3262a 52feature 'PAR Support',
53 -default => 0,
54 'PAR' => 0;
614f3ad6 55
24b3262a 56feature 'CPANPLUS (for easier installations)',
57 -default => 0,
58 'CPANPLUS' => 0;
614f3ad6 59
24b3262a 60install_script glob('script/*.pl');
61auto_install;
62WriteAll;
614f3ad6 63
64print( '*' x 80, "\n" );
65my $banner =
66 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
67 . " is the greatest and gabb is "
68 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
69 . " again!";
70print " $banner \n";
71print( '*' x 80, "\n" );
72
614f3ad6 73eval "use FCGI";
74print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
75eval "use FCGI::ProcManager";
76print
77 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
78 if ($@);
79eval "use PAR ()";
80print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
81
82print <<"EOF";
83
84 Important:
d538823f 85 Install Task::Catalyst to get everything you need to start writing
8878af8a 86 serious applications with Catalyst.
a5b5152b 87
e7d20a58 88 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 89 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 90
a5b5152b 91 Have fun!
614f3ad6 92EOF