initial Module::Pluggable work
[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';
9ce44430 9requires 'Carp';
24b3262a 10requires 'Class::Accessor::Fast';
11requires 'Class::Data::Inheritable';
f63c03e4 12requires 'Class::Inspector' => '1.06';
fa32ac82 13requires 'CGI::Simple::Cookie';
f63c03e4 14requires 'Data::Dump';
24b3262a 15requires 'File::Modified';
16requires 'HTML::Entities';
1e514a51 17requires 'HTTP::Body' => '0.5';
18requires 'HTTP::Headers' => '1.64';
24b3262a 19requires 'HTTP::Request';
20requires 'HTTP::Response';
ee3c41e3 21requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 22requires 'LWP::UserAgent';
364d7324 23requires 'Module::Pluggable' => '3.0';
24b3262a 24requires 'NEXT';
1e514a51 25requires 'Path::Class' => '0.09';
24b3262a 26requires 'Scalar::Util';
1e514a51 27requires 'Text::SimpleTable' => '0.03';
24b3262a 28requires 'Time::HiRes';
1e514a51 29requires 'Tree::Simple' => '1.15';
24b3262a 30requires 'Tree::Simple::Visitor::FindByPath';
1e514a51 31requires 'URI' => '1.35';
ea0e58d9 32requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
24b3262a 33
34feature 'Apache/mod_perl Support',
35 -default => 0,
ef0955fa 36 'Catalyst::Engine::Apache' => '1.05';
24b3262a 37
38feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0;
614f3ad6 39
24b3262a 40install_script glob('script/*.pl');
24b3262a 41WriteAll;
614f3ad6 42
43print( '*' x 80, "\n" );
44my $banner =
8c4733de 45 (qw/andyg chansen draven fordmason mst naughton sri jester
364d7324 46 nothingmuch LTjake/)[ int( rand(10) ) ]
614f3ad6 47 . " is the greatest and gabb is "
48 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
49 . " again!";
50print " $banner \n";
51print( '*' x 80, "\n" );
52
614f3ad6 53eval "use FCGI";
54print qq/ Install "FCGI" for FastCGI support.\n/ if $@;
55eval "use FCGI::ProcManager";
56print
57 qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
58 if ($@);
59eval "use PAR ()";
60print qq/ Install "PAR" for PAR packaging support.\n/ if $@;
61
62print <<"EOF";
63
64 Important:
d538823f 65 Install Task::Catalyst to get everything you need to start writing
8878af8a 66 serious applications with Catalyst.
a5b5152b 67
f63c03e4 68 Note that Catalyst::Helper has been split into a separate distribution,
69 and is required for using catalyst.pl to make new distributions. It is
70 included with Task::Catalyst
71
e7d20a58 72 perl -MCPANPLUS -e 'install Task::Catalyst'
d538823f 73 perl -MCPAN -e 'install Task::Catalyst'
a5b5152b 74
a5b5152b 75 Have fun!
614f3ad6 76EOF