X-Git-Url: https://git.donarmstrong.com/?p=perltidy.git;a=blobdiff_plain;f=Makefile.PL;h=34eb0d4f3820fb0aaef1cd3aacd1e1c2c388d7b7;hp=968a70a12cc643a7069f8e0860e836678b67ad55;hb=657098da8da16dccd551721ffc180956d8aab7fc;hpb=5af8685bea60c00aae46266c726ddfb0132d7d12 diff --git a/Makefile.PL b/Makefile.PL index 968a70a..34eb0d4 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,24 +1,27 @@ -# -# The indentation of this file is poor because this file may be used to -# test perltidy after installation. For example, try -# -# perltidy -lp Makefile.PL -# -# which will create a reformatted version as Makefile.PL.tdy. -# use ExtUtils::MakeMaker; WriteMakefile( -NAME => "Perl::Tidy", -VERSION_FROM => "lib/Perl/Tidy.pm", -( - $] >= 5.005 -? ( - ABSTRACT => 'indent and reformat perl scripts', - LICENSE => 'GPL-2.0+', -AUTHOR => 'Steve Hancock ' - ) -: () -), -EXE_FILES => ['bin/perltidy'], -dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, + NAME => "Perl::Tidy", + VERSION_FROM => "lib/Perl/Tidy.pm", + ( + $] >= 5.005 + ? ( + ABSTRACT => 'indent and reformat perl scripts', + LICENSE => 'gpl_2', + AUTHOR => 'Steve Hancock ' + ) + : () + ), + + EXE_FILES => ['bin/perltidy'], + dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, + META_MERGE => { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'https://github.com/perltidy/perltidy.git', + web => 'https://github.com/perltidy/perltidy', + }, + }, + }, );