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