]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blob - Makefile.PL
Point the repository to the gitweb instead of the bare repo
[perl/modules/Sub-Nary.git] / Makefile.PL
1 use 5.008001;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Sub-Nary';
8
9 my %META = (
10  configure_requires => {
11   'ExtUtils::MakeMaker' => 0,
12  },
13  build_requires => {
14   'ExtUtils::MakeMaker' => 0,
15   'Test::More'          => 0,
16  },
17  resources => {
18   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
19   homepage   => "http://search.cpan.org/dist/$dist/",
20   license    => 'http://dev.perl.org/licenses/',
21   repository => "http://git.profvince.com/?p=perl/modules/$dist.git",
22  },
23 );
24
25 WriteMakefile(
26     NAME             => 'Sub::Nary',
27     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
28     LICENSE          => 'perl',
29     VERSION_FROM     => 'lib/Sub/Nary.pm',
30     ABSTRACT_FROM    => 'lib/Sub/Nary.pm',
31     PL_FILES         => {},
32     PREREQ_PM        => {
33         'B'        => 0,
34         'Carp'     => 0,
35         'XSLoader' => 0
36     },
37     MIN_PERL_VERSION => 5.008001,
38     META_MERGE       => \%META,
39     dist             => {
40         PREOP    => 'pod2text lib/Sub/Nary.pm > $(DISTVNAME)/README',
41         COMPRESS => 'gzip -9f', SUFFIX => 'gz'
42     },
43     clean            => {
44         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
45     }
46 );
47
48 1;
49
50 package MY;
51
52 sub postamble {
53  my $cv = join ' -coverage ', 'cover',
54                             qw/statement branch condition path subroutine time/;
55  <<POSTAMBLE;
56 cover test_cover:
57         $cv -test
58 POSTAMBLE
59 }