1use strict; 2use warnings; 3use ExtUtils::MakeMaker; 4 5WriteMakefile( 6 NAME => 'MooX::Attribute::ENV', 7 AUTHOR => q{Ed J <etj@cpan.org>}, 8 VERSION_FROM => 'lib/MooX/Attribute/ENV.pm', 9 ABSTRACT_FROM => 'lib/MooX/Attribute/ENV.pm', 10 LICENSE => 'artistic_2', 11 MIN_PERL_VERSION => '5.008', 12 CONFIGURE_REQUIRES => { 13 'ExtUtils::MakeMaker' => '0', 14 }, 15 TEST_REQUIRES => { 16 'Test::More' => '0.88', # done_testing 17 }, 18 PREREQ_PM => { 19 'Moo' => '0', 20 }, 21 clean => { FILES => 'MooX-Attribute-ENV-*' }, 22 META_MERGE => { 23 "meta-spec" => { version => 2 }, 24 dynamic_config => 0, 25 resources => { 26 x_IRC => 'irc://irc.perl.org/#moose', 27 repository => { 28 type => 'git', 29 url => 'git@github.com:mohawk2/moox-attribute-env.git', 30 web => 'https://github.com/mohawk2/moox-attribute-env', 31 }, 32 bugtracker => { 33 web => 'https://github.com/mohawk2/moox-attribute-env/issues', 34 }, 35 license => [ 'http://dev.perl.org/licenses/' ], 36 }, 37 prereqs => { 38 develop => { 39 requires => { 40 'Test::Pod::Coverage' => '1.08', 41 'Test::Pod' => '1.22', 42 'Pod::Markdown' => 0, 43 }, 44 }, 45 }, 46 }, 47); 48 49sub MY::postamble { 50 -d '.git' ? <<EOF : ''; 51pure_all :: README.md 52 53README.md : \$(VERSION_FROM) 54\tpod2markdown \$< >\$\@ 55EOF 56} 57