]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blob - Makefile.PL
Make Points into a real class
[perl/modules/LaTeX-TikZ.git] / Makefile.PL
1 use 5.006;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'LaTeX-TikZ';
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  'Any::Moose'   => 0,
16  'Carp'         => 0,
17  'List::Util'   => 0,
18  'Mouse'        => '0.63', # register_type_constraint
19  'Scope::Guard' => 0,
20  'Sub::Name'    => 0,
21  'constant'     => 0,
22 );
23
24 my %META = (
25  configure_requires => {
26   'ExtUtils::MakeMaker' => 0,
27  },
28  build_requires => {
29   'ExtUtils::MakeMaker' => 0,
30   'Test::More'          => 0,
31   %PREREQ_PM,
32  },
33  dynamic_config => 0,
34  resources => {
35   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
36   homepage   => "http://search.cpan.org/dist/$dist/",
37   license    => 'http://dev.perl.org/licenses/',
38   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
39  },
40 );
41
42 WriteMakefile(
43  NAME             => $name,
44  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
45  LICENSE          => 'perl',
46  VERSION_FROM     => $file,
47  ABSTRACT_FROM    => $file,
48  PL_FILES         => {},
49  PREREQ_PM        => \%PREREQ_PM,
50  MIN_PERL_VERSION => 5.006,
51  META_MERGE       => \%META,
52  dist             => {
53   PREOP    => "pod2text $file > \$(DISTVNAME)/README",
54   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
55  },
56  clean            => {
57   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
58  }
59 );