Initial support for :Args attribute
[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";
10requires 'Class::Accessor::Fast';
11requires 'Class::Data::Inheritable';
12requires 'Class::Inspector';
13requires 'CGI::Cookie';
14requires 'File::Modified';
15requires 'HTML::Entities';
16requires 'HTTP::Body' => 0.5;
17requires 'HTTP::Headers' => 1.59;
18requires 'HTTP::Request';
19requires 'HTTP::Response';
ee3c41e3 20requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 21requires 'LWP::UserAgent';
22requires 'MIME::Types';
23requires 'Module::Pluggable::Fast' => 0.16;
24requires 'NEXT';
25requires 'Path::Class' => 0.09;
26requires 'Scalar::Util';
27requires 'Template';
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';
9bf43a66 36requires 'Module::Install::Admin' => '0.54';
0ff7106c 37requires 'Module::Install' => '0.54';
a6ad13b6 38requires 'YAML' => '0.55';
f313294b 39requires 'File::Slurp';
24b3262a 40
41feature 'Apache/mod_perl Support',
42 -default => 0,
ef0955fa 43 'Catalyst::Engine::Apache' => '1.05';
24b3262a 44
45feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0;
614f3ad6 46
24b3262a 47feature 'PAR Support',
48 -default => 0,
49 'PAR' => 0;
614f3ad6 50
24b3262a 51feature 'CPANPLUS (for easier installations)',
52 -default => 0,
53 'CPANPLUS' => 0;
614f3ad6 54
24b3262a 55install_script glob('script/*.pl');
56auto_install;
57WriteAll;
614f3ad6 58
59print( '*' x 80, "\n" );
60my $banner =
61 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
62 . " is the greatest and gabb is "
63 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
64 . " again!";
65print " $banner \n";
66print( '*' x 80, "\n" );
67
614f3ad6 68eval "use FCGI";
69print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
70eval "use FCGI::ProcManager";
71print
72 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
73 if ($@);
74eval "use PAR ()";
75print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
76
77print <<"EOF";
78
79 Important:
d538823f 80 Install Task::Catalyst to get everything you need to start writing
8878af8a 81 serious applications with Catalyst.
a5b5152b 82
e7d20a58 83 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 84 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 85
a5b5152b 86 Have fun!
614f3ad6 87EOF