Fix lighttpd tests to use correct lib directory
[catagits/Catalyst-Runtime.git] / Makefile.PL
CommitLineData
c55f01aa 1use inc::Module::Install 0.64;
022d1311 2
a97601e0 3use 5.008001;
0ba80bce 4perl_version '5.8.1';
5
341d40d1 6name 'Catalyst-Runtime';
7all_from 'lib/Catalyst/Runtime.pm';
24b3262a 8
9requires 'perl' => '5.8.1';
9ce44430 10requires 'Carp';
24b3262a 11requires 'Class::Accessor::Fast';
12requires 'Class::Data::Inheritable';
f63c03e4 13requires 'Class::Inspector' => '1.06';
fa32ac82 14requires 'CGI::Simple::Cookie';
f63c03e4 15requires 'Data::Dump';
24b3262a 16requires 'File::Modified';
17requires 'HTML::Entities';
5c2c224d 18requires 'HTTP::Body' => '0.9';
1e514a51 19requires 'HTTP::Headers' => '1.64';
24b3262a 20requires 'HTTP::Request';
21requires 'HTTP::Response';
ee3c41e3 22requires 'HTTP::Request::AsCGI' => '0.5';
24b3262a 23requires 'LWP::UserAgent';
d8e0de58 24requires 'Module::Pluggable' => '3.01';
24b3262a 25requires 'NEXT';
1e514a51 26requires 'Path::Class' => '0.09';
24b3262a 27requires 'Scalar::Util';
1e514a51 28requires 'Text::SimpleTable' => '0.03';
24b3262a 29requires 'Time::HiRes';
1e514a51 30requires 'Tree::Simple' => '1.15';
24b3262a 31requires 'Tree::Simple::Visitor::FindByPath';
1e514a51 32requires 'URI' => '1.35';
ea0e58d9 33requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
24b3262a 34
a9835938 35
de925c79 36if (-e 'inc/.author') {
37 build_requires 'Test::Perl::Critic';
5f4bcf51 38 build_requires 'Test::Pod' => 1.14;
39 build_requires 'Test::Pod::Coverage' => 1.04;
d3a85879 40
41 if ($^O eq 'darwin') {
42 makemaker_args(dist => { PREOP => 'if [ "$$COPY_EXTENDED_ATTRIBUTES_DISABLE" != "true" ]; then'.
43 ' echo "you must set the ENV variable COPY_EXTENDED_ATTRIBUTES_DISABLE to true,"; '.
44 ' echo "to avoid getting resource forks in your dist."; exit 255; fi' });
45 }
de925c79 46}
47
24b3262a 48install_script glob('script/*.pl');
b6395bce 49auto_install;
24b3262a 50WriteAll;
614f3ad6 51
614f3ad6 52print <<"EOF";
53
54 Important:
a5b5152b 55
0187a79d 56 This library is for running Catalyst applications.
57
341d40d1 58 For development and use of catalyst.pl and myapp_create.pl, make sure
59 you also install the development tools package Catalyst::Devel.
f63c03e4 60
6bc14aef 61 perl -MCPANPLUS -e 'install Catalyst::Devel' # or
62 perl -MCPAN -e 'install Catalyst::Devel'
63
64 To get some commonly used plugins, as well as the TT view and DBIC
65 model, install Task::Catalyst in the same way.
a5b5152b 66
a5b5152b 67 Have fun!
614f3ad6 68EOF