]> git.donarmstrong.com Git - perltidy.git/blob - Makefile.PL
fix up debian janitor merge commit to match actual pieces which were comitted
[perltidy.git] / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 my $mm_ver = $ExtUtils::MakeMaker::VERSION;
4 if ( $mm_ver =~ /_/ ) {    # developer release/version
5     $mm_ver = eval $mm_ver;
6     die $@ if $@;
7 }
8
9 #   Minimum version found by perlver:
10 #
11 #     ------------------------------------------
12 #   | file        | explicit | syntax | external |
13 #   | ------------------------------------------ |
14 #   | perltidy.pl | v5.8.0   | v5.8.0 | n/a      |
15 #   | ------------------------------------------ |
16 #   | Minimum explicit version : v5.8.0          |
17 #   | Minimum syntax version   : v5.8.0          |
18 #   | Minimum version of perl  : v5.8.0          |
19 #     ------------------------------------------
20
21 WriteMakefile(
22     NAME         => "Perl::Tidy",
23     VERSION_FROM => "lib/Perl/Tidy.pm",
24     (
25         $] >= 5.005
26         ? (
27             ABSTRACT => 'indent and reformat perl scripts',
28             LICENSE  => 'gpl_2',
29             AUTHOR   => 'Steve Hancock <perltidy@perltidy.sourceforge.net>'
30           )
31         : ()
32     ),
33     (
34         $mm_ver >= 6.48 ? ( MIN_PERL_VERSION => 5.008 )
35         : ()
36     ),
37
38     EXE_FILES  => ['bin/perltidy'],
39     dist       => { COMPRESS => 'gzip', SUFFIX => 'gz' },
40     META_MERGE => {
41         'meta-spec' => { version => 2 },
42         resources   => {
43             repository => {
44                 type => 'git',
45                 url  => 'https://github.com/perltidy/perltidy.git',
46                 web  => 'https://github.com/perltidy/perltidy',
47             },
48             bugtracker => {
49                 "web" => "https://github.com/perltidy/perltidy/issues"
50             },
51         },
52     },
53 );