X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=9ac694e9d20f430296d9631a8272565774ee44ae;hb=c1db1bd08c80622d66bcb3c6c226021ce09dd0f5;hp=13fb8238013f2e358c4c4907b9080a77a5589685;hpb=012b777942e2a14d560cfb9015a9a19583d67060;p=catagits%2FTask-Catalyst.git diff --git a/Makefile.PL b/Makefile.PL index 13fb823..9ac694e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,22 +6,80 @@ author('Sebastian Riedel'); version_from('Catalyst.pm'); license('perl'); -requires('Catalyst'); -requires('Catalyst::Plugin::FormValidator'); -requires('Catalyst::Plugin::FormValidator::Simple'); -requires('Catalyst::Plugin::FillInForm'); -requires('Catalyst::Plugin::Prototype'); -requires('Catalyst::Plugin::Singleton'); -requires('Catalyst::Plugin::DefaultEnd'); -requires('Catalyst::Plugin::SubRequest'); -requires('Catalyst::Plugin::Session'); -requires('Catalyst::Plugin::Session::Store::File'); -requires('Catalyst::Plugin::Session::State::Cookie'); -requires('Catalyst::Plugin::Session::State::URI'); -requires('Catalyst::Model::DBIC'); -requires('Catalyst::Model::DBIC::Plain'); -requires('Catalyst::View::TT'); -requires('DBD::SQLite'); -requires('YAML'); +include('ExtUtils::AutoInstall'); +requires( 'Catalyst' => '5.58' ); + +features( + 'FormValidator Support' => [ + -default => 1, + 'Catalyst::Plugin::FormValidator' => 0 + ], + 'FormValidator::Simple Support' => [ + -default => 1, + 'Catalyst::Plugin::FormValidator::Simple' => 0 + ], + 'FillInForm Support' => [ + -default => 1, + 'Catalyst::Plugin::FillInForm' => 0 + ], + 'Prototype Support' => [ + -default => 1, + 'Catalyst::Plugin::Prototype' => 0 + ], + 'Singleton Support' => [ + -default => 1, + 'Catalyst::Plugin::Singleton' => 0 + ], + 'DefaultEnd Support' => [ + -default => 1, + 'Catalyst::Plugin::DefaultEnd' => 0 + ], + 'SubRequest Support' => [ + -default => 1, + 'Catalyst::Plugin::SubRequest' => 0 + ], + 'Session Support' => [ + -default => 1, + 'Catalyst::Plugin::Session' => 0, + 'Catalyst::Plugin::Session::Store::File' => 0, + 'Catalyst::Plugin::Session::State::Cookie' => 0, + 'Catalyst::Plugin::Session::State::URI' => 0 + ], + 'I18N Support' => [ + -default => 1, + 'Catalyst::Plugin::I18N' => 0 + ], + 'XMLRPC Support' => [ + -default => 1, + 'Catalyst::Plugin::XMLRPC' => 0 + ], + 'Pluggable Application Support' => [ + -default => 1, + 'Catalyst::Plugin::Pluggable' => 0 + ], + 'DBIx::Class Support' => [ + -default => 1, + 'Catalyst::Model::DBIC' => 0, + 'Catalyst::Model::DBIC::Plain' => 0 + ], + 'Template::Toolkit Support' => [ + -default => 1, + 'Catalyst::View::TT' => 0 + ], + 'Test::WWW::Mechanize Support' => [ + -default => 1, + 'Test::WWW::Mechanize::Catalyst' => 0 + ], + 'SQLite Support' => [ + -default => 1, + 'DBD::SQLite' => 0 + ], + 'YAML Support' => [ + -default => 1, + 'YAML' => 0 + ] +); + +auto_install(); &WriteAll;