Oops, added extra.conf.in to manifest
[catagits/Catalyst-Runtime.git] / Build.PL
1 use strict;
2 use Module::Build;
3
4 my $build = Module::Build->new(
5     create_makefile_pl => 'passthrough',
6     license            => 'perl',
7     module_name        => 'Catalyst',
8     requires           => {
9         'perl'                              => '5.8.1',
10         'UNIVERSAL::require'                => 0,
11         'Class::Accessor::Fast'             => 0,
12         'Class::Data::Inheritable'          => 0,
13         'CGI::Cookie'                       => 0,
14         'HTML::Entities'                    => 0,
15         'HTTP::Body'                        => 0,
16         'HTTP::Headers'                     => 1.59,
17         'HTTP::Request'                     => 0,
18         'HTTP::Response'                    => 0,
19         'LWP::UserAgent'                    => 0,
20         'Module::Pluggable::Fast'           => 0.16,
21         'NEXT'                              => 0,
22         'Path::Class'                       => 0.09,
23         'Scalar::Util'                      => 0,
24         'Template'                          => 0,
25         'Text::ASCIITable'                  => 0.17,
26         'Test::MockObject'                  => 0,
27         'Tree::Simple'                      => 0,
28         'Tree::Simple::Visitor::FindByPath' => 0,
29         'URI'                               => 1.35,
30     },
31     recommends         => { 'Catalyst::Engine::Apache' => 0, },
32     create_makefile_pl => 'passthrough',
33     create_readme      => 1,
34     script_files       => [ glob('script/*') ],
35     test_files         => [
36         glob('t/*.t'),     glob('t/*/*.t'),
37         glob('t/*/*/*.t'), glob('t/*/*/*/*.t'),
38         glob('t/*/*/*/*/*.t')
39     ]
40 );
41 $build->create_build_script;
42
43 print( '*' x 80, "\n" );
44 print(
45     (qw/andyg chansen draven fordmason mst naughton sri jester/)
46     [ int( rand(8) ) ],
47     " is the greatest and gabb is ",
48     ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
49     " again!\n"
50 );
51 print( '*' x 80, "\n" );
52
53 eval "use FCGI";
54 print qq/Install "FCGI" for FastCGI support.\n/ if $@;
55
56 print qq/
57 *** IMPORTANT NOTE: ***
58 The Apache engines have been moved to a separate package in Catalyst 5.5.
59 Please install Catalyst::Engine::Apache if you need Apache support.
60 /;