X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=e6aaa62620144fca670b1d740e74d84c37f4d82d;hb=ff137d7b8537c209248847c311630594f472b609;hp=9d6c3e18d8ffa8108c17fe62f437be6077c839d2;hpb=07ef6bed62755fd29d1fc7e237be44b8a2ed4bac;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 9d6c3e1..e6aaa62 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,8 @@ author('Sebastian Riedel'); version_from('lib/Catalyst.pm'); license('perl'); +include('ExtUtils::AutoInstall'); + requires( 'perl' => '5.8.1' ); requires( 'UNIVERSAL::require' => "0.10" ); requires('Class::Accessor::Fast'); @@ -34,15 +36,30 @@ requires('Tree::Simple::Visitor::FindByPath'); requires( 'URI' => 1.35 ); requires('File::Copy::Recursive'); requires('inc::Module::Install'); -requires('Module::Build'); - -recommends( 'Catalyst::Engine::Apache' => '1.00' ); -recommends('FCGI'); -recommends('FCGI::ProcManager'); -recommends('PAR'); +requires('ExtUtils::AutoInstall'); + +features( + 'Apache Support' => [ + -default => 0, + 'Catalyst::Engine::Apache' => '1.00' + ], + 'FastCGI Support' => [ + -default => 0, + 'FCGI' => 0, + 'FCGI::ProcManager' => 0 + ], + 'PAR Support' => [ + -default => 0, + 'PAR' => 0 + ], + 'CPANPLUS' => [ + -default => 0, + 'CPANPLUS' => 0 + ], +); install_script( glob('script/*.pl') ); - +auto_install(); &WriteAll; print( '*' x 80, "\n" ); @@ -54,17 +71,6 @@ my $banner = print " $banner \n"; print( '*' x 80, "\n" ); -print <<'EOF'; - - ____ _ _ _ - / ___|__ _| |_ __ _| |_ _ ___| |_ - | | / _` | __/ _` | | | | / __| __| - | |__| (_| | || (_| | | |_| \__ \ |_ - \____\__ _|\__\__ _|_|\__ |___/\__| - |___/ carpe diem! - -EOF - eval "use FCGI"; print qq/ Install "FCGI" for FastCGI support.\n/ if $@; eval "use FCGI::ProcManager"; @@ -77,14 +83,11 @@ print qq/ Install "PAR" for PAR packaging support.\n/ if $@; print <<"EOF"; Important: - The Apache engines have been moved to a separate package in Catalyst 5.5. - Please install Catalyst::Engine::Apache if you need Apache support. - Install Task::Catalyst to get everything you need to start writing serious applications with Catalyst. + perl -MCPANPLUS -e 'install Task::Catalyst' perl -MCPAN -e 'install Task::Catalyst' - Have fun! EOF