X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=Makefile.PL;h=fc385abc80393a1d1e41d823e7bc80c4e7852d4f;hp=36fb4837233a450fcaf526bf9412ccfca607931e;hb=3cae740ceb73985f9183d4cc2863fc24dabd90ad;hpb=bf2bce672ebec6c0122d133aa86c325e2173c30c diff --git a/Makefile.PL b/Makefile.PL index 36fb483..fc385ab 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,17 +1,22 @@ -use ExtUtils::MakeMaker; +use inc::Module::Install 0.87; -WriteMakefile( - NAME => 'Catalyst::Plugin::Session::FastMmap', - AUTHOR => 'Sebastian Riedel (sri@oook.de)', - PREREQ_PM => { - Catalyst => '2.99', - Cache::FastMmap => 0, - Class::Accessor::Fast => 0, - Class::Data::Inheritable => 0, - Digest::MD5 => 0, - URI => 0, - URI::Find => 0, - File::Temp => 0 - }, - VERSION_FROM => 'FastMmap.pm' -); +name 'Catalyst-Plugin-Session-State-Cookie'; +all_from 'lib/Catalyst/Plugin/Session/State/Cookie.pm'; + +requires 'Catalyst' => '5.80005'; +requires 'Catalyst::Plugin::Session' => '0.27'; +requires 'MRO::Compat'; +requires 'Moose'; +requires 'namespace::autoclean'; +test_requires 'Moose'; +test_requires 'Test::More'; + +auto_install; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Session-State-Cookie.git'; + +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/Plugin/Session/State/Cookie.pm > README") + and die; +} + +WriteAll;