]> git.vpit.fr Git - perl/modules/rgit.git/blob - Makefile.PL
Re-indent WriteMakefile() arguments
[perl/modules/rgit.git] / Makefile.PL
1 use 5.008;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'rgit';
8
9 (my $name = $dist) =~ s{-}{::}g;
10
11 my %PREREQ_PM = (
12  'Carp'                  => 0,
13  'Cwd'                   => 0,
14  'Exporter'              => 0,
15  'File::Find'            => 0,
16  'File::Spec::Functions' => 0,
17  'Object::Tiny'          => 0,
18  'POSIX'                 => 0,
19  'base'                  => 0,
20 );
21
22 my %META = (
23  configure_requires => {
24   'ExtUtils::MakeMaker' => 0,
25  },
26  build_requires => {
27   'Cwd'                   => 0,
28   'ExtUtils::MakeMaker'   => 0,
29   'File::Spec::Functions' => 0,
30   'File::Temp'            => 0,
31   'Test::More'            => 0,
32   %PREREQ_PM,
33  },
34  recommends => {
35   'Term::ReadKey' => 0,
36  },
37  dynamic_config => 0,
38  resources => {
39   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
40   homepage   => "http://search.cpan.org/dist/$dist/",
41   license    => 'http://dev.perl.org/licenses/',
42   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
43  },
44 );
45
46 WriteMakefile(
47  NAME             => $name,
48  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
49  LICENSE          => 'perl',
50  VERSION_FROM     => 'lib/App/Rgit.pm',
51  ABSTRACT         => 'Recursively execute a command on all the git repositories in a directory tree.',
52  PL_FILES         => { },
53  EXE_FILES        => [ 'bin/rgit' ],
54  PREREQ_PM        => \%PREREQ_PM,
55  MIN_PERL_VERSION => 5.008,
56  META_MERGE       => \%META,
57  dist             => {
58   PREOP    => 'pod2text bin/rgit > $(DISTVNAME)/README',
59   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
60  },
61  clean            => {
62   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
63  }
64 );