also handle undef inputs
[p5sagit/Safe-Isa.git] / Makefile.PL
1 use strict;
2 use warnings FATAL => 'all';
3 use 5.008001;
4 use ExtUtils::MakeMaker;
5 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
6
7 WriteMakefile(
8   NAME => 'Safe::Isa',
9   VERSION_FROM => 'lib/Safe/Isa.pm',
10
11   PREREQ_PM => {
12     'Exporter' => '5.57',
13     'Scalar::Util' => 0,
14   },
15
16   -f 'META.yml' ? () : (
17     META_MERGE => {
18       'meta-spec' => { version => 2 },
19       dynamic_config => 0,
20
21       resources => {
22         # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git
23         repository => {
24           url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git',
25           web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git',
26           type => 'git',
27         },
28         bugtracker => {
29             mailto => 'bug-Safe-Isa@rt.cpan.org',
30             web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa',
31         },
32       },
33     },
34   ),
35 );