X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile.PL;h=34eb0d4f3820fb0aaef1cd3aacd1e1c2c388d7b7;hb=f85ac49806617edd8651370705842023e9981c6e;hp=dc8474f3d860e7b4286ec90c24bbe702b6853949;hpb=4107c18ce17515557235b1ac91ab586b46098727;p=perltidy.git diff --git a/Makefile.PL b/Makefile.PL old mode 100644 new mode 100755 index dc8474f..34eb0d4 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,23 +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', -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', + }, + }, + }, );