X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cf1846ab054a1c9c22a11ba56fb56e8888a7dc58;hb=HEAD;hp=9131e3b1fb3458d408f020d4edd05dc8c1b6d285;hpb=60e8b82a5723d0e1809f44f9fdeaf029771999e9;p=catagits%2FCatalyst-Authentication-Store-DBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 9131e3b..cf1846a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,16 +1,53 @@ -use strict; -use warnings; -use ExtUtils::MakeMaker; - -WriteMakefile( - NAME => 'Catalyst::Plugin::Authentication::Store::DBIx::Class', - AUTHOR => 'Jay Kuri ', - VERSION_FROM => 'lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm', - ABSTRACT_FROM => 'lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm', - PL_FILES => {}, - PREREQ_PM => { - 'Test::More' => 0, - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'Catalyst-Plugin-Authentication-Store-DBIx-Class-*' }, +use inc::Module::Install 0.91; + +if( -e 'MANIFEST.SKIP' ) { + system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' ); +} +realclean_files 'README'; + +## I'd love to use can_use - but I can't seem to test for success. :-/ +eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; }; + +if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) { + print STDERR < '5.8', + 'Catalyst::Plugin::Authentication' => '0.10008', + 'Catalyst::Model::DBIC::Schema' => '0.18', + 'DBIx::Class' => '0.08', + 'Moose' => 0, + 'namespace::autoclean' => 0, + 'List::MoreUtils' => 0, + 'Try::Tiny' => 0, ); + +test_requires 'Test::More'; + +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Store-DBIx-Class.git', + +auto_install; +auto_provides; +WriteAll;