Updated Task::Catalyst
[catagits/Task-Catalyst.git] / Makefile.PL
index 219fb9b..3dc7d04 100644 (file)
@@ -1,25 +1,93 @@
 use inc::Module::Install;
 
-name('Task::Catalyst');
+name('Task-Catalyst');
 abstract('All you need to start with Catalyst');
 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.61' );
+
+features(
+    'Log4perl Support' => [
+        -default                  => 1,
+        'Catalyst::Log::Log4perl' => 0
+    ],
+    'HTML::Widget Support' => [
+        -default                         => 1,
+        'Catalyst::Plugin::HTML::Widget' => 0
+    ],
+    'Stacktrace Advanced Debugging Support' => [
+        -default                       => 1,
+        'Catalyst::Plugin::StackTrace' => 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
+    ],
+    'Authentication/Authorization Support' => [
+        -default                                            => 1,
+        'Catalyst::Plugin::Authentication'                  => 0,
+        'Catalyst::Plugin::Authentication::Store::DBIC'     => 0,
+        'Catalyst::Plugin::Authentication::Store::Htpasswd' => 0,
+        'Catalyst::Plugin::Authorization::ACL'              => 0,
+        'Catalyst::Plugin::Authorization::Roles'            => 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;