use strict;
use warnings;
use ExtUtils::MakeMaker;
# -----------------------------------------------
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
my(%params) =
(
($] ge '5.005') ?
(
AUTHOR => 'Ron Savage (ron@savage.net.au)',
ABSTRACT => 'Convert a Gedcom file into a Timeline file',
) : (),
clean =>
{
FILES => 'blib/* Makefile MANIFEST HTML-Timeline-*'
},
dist =>
{
COMPRESS => 'gzip',
SUFFIX => 'gz'
},
DISTNAME => 'HTML-Timeline',
EXE_FILES => ['bin/timeline.pl'],
NAME => 'HTML::Timeline',
LICENSE => 'artistic_2',
PL_FILES => {},
PREREQ_PM =>
{
accessors => 0,
Carp => 0,
Config::IniFiles => 0,
Gedcom => 0,
Gedcom::Date => 0,
HTML::Template => 0,
Path::Class => 0,
},
VERSION_FROM => 'lib/HTML/Timeline.pm',
);
if ( ($ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/) && ($ExtUtils::MakeMaker::VERSION > 6.30) )
{
$params{LICENSE} = 'artistic_2';
}
if ($ExtUtils::MakeMaker::VERSION ge '6.46')
{
$params{META_MERGE} =
{
'meta-spec' =>
{
version => 2,
},
resources =>
{
bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=HTML-Timeline',
license => 'http://opensource.org/licenses/Artistic-2.0',
repository =>
{
type => 'git',
url => 'https://github.com/ronsavage/HTML-Timeline.git',
web => 'https://github.com/ronsavage/HTML-Timeline',
},
},
};
}
WriteMakefile(%params);