Exclude .git from MANIFEST.
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / Makefile.PL
CommitLineData
d74c836b 1use inc::Module::Install 0.87;
2aa8bdb6 2
76e7a763 3if( -e 'MANIFEST.SKIP' ) {
6727afe2 4 system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' );
76e7a763 5}
6
f26005a7 7## I'd love to use can_use - but I can't seem to test for success. :-/
8eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; };
9
10if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) {
11 print STDERR <<EOM;
12*******************************************
13*** WARNING: DEPRECATED MODULE FOUND ***
14*******************************************
15
16You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed.
17The module you are installing supercedes it and it's presence has been known
18to cause conflicts. We STRONGLY recommend you remove the old module before
19proceeding.
20
21You have 5 seconds to abort this install to remove the old module.
22EOM
23 sleep 5;
24 print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n";
25}
26
27
6727afe2 28name 'Catalyst-Authentication-Store-DBIx-Class';
29all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';
2aa8bdb6 30
76e7a763 31perl_version '5.8.1';
32
f26005a7 33requires ( 'Catalyst::Runtime' => 0,
f55cb81e 34 'Catalyst::Plugin::Authentication' => '0.10008',
ec6087de 35 'Catalyst::Model::DBIC::Schema' => 0,
f26005a7 36 'DBIx::Class' => 0,
26e76b8f 37 'Catalyst::Model::DBIC::Schema' => '0.18',
f26005a7 38 );
39
76e7a763 40
41test_requires 'Test::More';
2aa8bdb6 42
43auto_install;
c388ac9d 44resources repository => 'http://dev.catalystframework.org/repos/Catalyst/trunk/Catalyst-Authentication-Store-DBIx-Class';
7823fa50 45
2aa8bdb6 46WriteAll;
5000f545 47