Changing the repository metadata when you move something is a good plan. And I didn...
[catagits/Catalyst-Plugin-Session-State-Cookie.git] / Makefile.PL
index fa84163..5fbce0d 100644 (file)
@@ -1,10 +1,22 @@
-use inc::Module::Install;
+use inc::Module::Install 0.87;
 
 name 'Catalyst-Plugin-Session-State-Cookie';
 all_from 'lib/Catalyst/Plugin/Session/State/Cookie.pm';
 
-requires 'Catalyst::Plugin::Session' => '0.06';
-requires 'Test::MockObject'          => '1.01';
+requires 'Catalyst'                  => '5.80005';
+requires 'Catalyst::Plugin::Session' => '0.19';
+requires 'MRO::Compat';
+requires 'Moose';
+requires 'namespace::autoclean';
+test_requires 'Moose';
+test_requires 'Test::More';
 
 auto_install;
+resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session-State-Cookie/trunk/';
+
+if ($Module::Install::AUTHOR) {
+    system("pod2text lib/Catalyst/Plugin/Session/State/Cookie.pm > README")
+        and die;
+}
+
 WriteAll;