5 use ExtUtils::MakeMaker;
7 my $dist = 'Perl-Critic-Policy-Dynamic-NoIndirect';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
16 'Perl::Critic::Utils' => 0,
17 'Perl::Critic::DynamicPolicy' => 0,
23 configure_requires => {
24 'ExtUtils::MakeMaker' => 0,
27 'ExtUtils::MakeMaker' => 0,
28 'Perl::Critic::TestUtils' => 0,
34 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
35 homepage => "http://search.cpan.org/dist/$dist/",
36 license => 'http://dev.perl.org/licenses/',
37 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
43 AUTHOR => 'Vincent Pit <perl@profvince.com>',
45 VERSION_FROM => $file,
46 ABSTRACT_FROM => $file,
48 PREREQ_PM => \%PREREQ_PM,
49 MIN_PERL_VERSION => 5.008,
52 PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
53 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
56 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"