X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=7e22e37167324405528a027c9a6f96699e65db2f;hb=HEAD;hp=9abd4077d3707ea01b13a9499b385927d664b5ec;hpb=d0d2f5ac7d4406b6158a57cddde7535285703c5e;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/Makefile.PL b/Makefile.PL index 9abd407..7e22e37 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -72,6 +72,14 @@ my $dist = 'Variable-Magic'; (my $file = $dist) =~ s{-}{/}g; $file = "lib/$file.pm"; +my $bug_web = "http://rt.cpan.org/Dist/Display.html?Name=$dist", +my $bug_mailto = 'bug-' . lc($dist) . '@rt.cpan.org'; + +my $repo_host = 'git.vpit.fr'; +my @repo_path = ('perl', 'modules', "$dist.git"); +my $repo_url = join '/', 'http:', '', $repo_host, @repo_path, ''; +my $repo_web = "http://$repo_host/?p=" . join('%2F', @repo_path); + my %PREREQ_PM = ( 'Carp' => 0, 'Exporter' => 0, @@ -94,6 +102,10 @@ my %BUILD_REQUIRES = ( ); my %META = ( + 'meta-spec' => { + version => '2', + url => 'http://search.cpan.org/perldoc?CPAN::Meta::Spec', + }, configure_requires => { 'Config' => 0, 'ExtUtils::MakeMaker' => 0, @@ -103,16 +115,23 @@ my %META = ( }, dynamic_config => 1, resources => { - bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist", + bugtracker => { + web => $bug_web, + mailto => $bug_mailto, + }, homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', - repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git", + repository => { + type => 'git', + url => $repo_url, + web => $repo_web, + }, }, ); WriteMakefile( NAME => $name, - AUTHOR => 'Vincent Pit ', + AUTHOR => 'Vincent Pit ', LICENSE => 'perl', VERSION_FROM => $file, ABSTRACT_FROM => $file,