Commit | Line | Data |
614f3ad6 |
1 | use inc::Module::Install; |
2 | |
3 | name('Catalyst'); |
4 | abstract('Catalyst Web Framework'); |
5 | author('Sebastian Riedel'); |
6 | version_from('lib/Catalyst.pm'); |
7 | license('perl'); |
8 | |
9 | requires( 'perl' => '5.8.1' ); |
10 | requires( 'UNIVERSAL::require' => "0.10" ); |
11 | requires('Class::Accessor::Fast'); |
12 | requires('Class::Data::Inheritable'); |
13 | requires('Class::Inspector'); |
14 | requires('CGI::Cookie'); |
15 | requires('File::Modified'); |
16 | requires('HTML::Entities'); |
17 | requires( 'HTTP::Body' => 0.5 ); |
18 | requires( 'HTTP::Headers' => 1.59 ); |
19 | requires('HTTP::Request'); |
20 | requires('HTTP::Response'); |
21 | requires('HTTP::Request::AsCGI'); |
22 | requires('LWP::UserAgent'); |
23 | requires('MIME::Types'); |
24 | requires( 'Module::Pluggable::Fast' => 0.16 ); |
25 | requires('NEXT'); |
26 | requires( 'Path::Class' => 0.09 ); |
27 | requires('Scalar::Util'); |
28 | requires('Template'); |
29 | requires('Text::SimpleTable'); |
30 | requires('Test::MockObject'); |
31 | requires('Time::HiRes'); |
32 | requires('Tree::Simple'); |
33 | requires('Tree::Simple::Visitor::FindByPath'); |
34 | requires( 'URI' => 1.35 ); |
bb722214 |
35 | requires('File::Copy::Recursive'); |
614f3ad6 |
36 | |
37 | recommends( 'Catalyst::Engine::Apache' => '1.00' ); |
38 | recommends('FCGI'); |
39 | recommends('FCGI::ProcManager'); |
40 | recommends('PAR'); |
41 | |
42 | install_script( glob('script/*.pl') ); |
43 | |
44 | &WriteAll; |
45 | |
46 | print( '*' x 80, "\n" ); |
47 | my $banner = |
48 | (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ] |
49 | . " is the greatest and gabb is " |
50 | . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) |
51 | . " again!"; |
52 | print " $banner \n"; |
53 | print( '*' x 80, "\n" ); |
54 | |
55 | print <<'EOF'; |
56 | |
57 | ____ _ _ _ |
58 | / ___|__ _| |_ __ _| |_ _ ___| |_ |
59 | | | / _` | __/ _` | | | | / __| __| |
60 | | |__| (_| | || (_| | | |_| \__ \ |_ |
61 | \____\__ _|\__\__ _|_|\__ |___/\__| |
62 | |___/ carpe diem! |
63 | |
64 | EOF |
65 | |
66 | eval "use FCGI"; |
67 | print qq/ Install "FCGI" for FastCGI support.\n/ if $@; |
68 | eval "use FCGI::ProcManager"; |
69 | print |
70 | qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ |
71 | if ($@); |
72 | eval "use PAR ()"; |
73 | print qq/ Install "PAR" for PAR packaging support.\n/ if $@; |
74 | |
75 | print <<"EOF"; |
76 | |
77 | Important: |
a5b5152b |
78 | The Apache engines have been moved to a separate package in Catalyst 5.5. |
79 | Please install Catalyst::Engine::Apache if you need Apache support. |
80 | |
d538823f |
81 | Install Task::Catalyst to get everything you need to start writing |
8878af8a |
82 | serious applications with Catalyst. |
a5b5152b |
83 | |
d538823f |
84 | perl -MCPAN -e 'install Task::Catalyst' |
a5b5152b |
85 | |
86 | |
87 | Have fun! |
614f3ad6 |
88 | EOF |