]> git.vpit.fr Git - perl/modules/with.git/blob - Makefile.PL
Remove trailing whitespace
[perl/modules/with.git] / Makefile.PL
1 use 5.009004;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'with';
8
9 (my $name = $dist) =~ s{-}{::}g;
10
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
13
14 my %PREREQ_PM = (
15  'Carp'                 => 0,
16  'Filter::Util::Call'   => 0,
17  'Scalar::Util'         => 0,
18  'Sub::Prototype::Util' => '0.08',
19  'Text::Balanced'       => 0,
20 );
21
22 my %META = (
23  configure_requires => {
24   'ExtUtils::MakeMaker' => 0,
25  },
26  build_requires => {
27   'ExtUtils::MakeMaker' => 0,
28   'Test::More'          => 0,
29   %PREREQ_PM,
30  },
31  dynamic_config => 0,
32  resources => {
33   bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
34   homepage   => "http://search.cpan.org/dist/$dist/",
35   license    => 'http://dev.perl.org/licenses/',
36   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
37  },
38 );
39
40 WriteMakefile(
41  NAME             => $name,
42  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
43  LICENSE          => 'perl',
44  VERSION_FROM     => $file,
45  ABSTRACT_FROM    => $file,
46  PL_FILES         => {},
47  PREREQ_PM        => \%PREREQ_PM,
48  MIN_PERL_VERSION => '5.009004',
49  META_MERGE       => \%META,
50  dist             => {
51   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
52   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
53  },
54  clean            => {
55   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
56  },
57 );