]> git.donarmstrong.com Git - perltidy.git/blobdiff - Makefile.PL
update compat level to 12, standards version, and switch to salsa
[perltidy.git] / Makefile.PL
old mode 100644 (file)
new mode 100755 (executable)
index dc8474f..34eb0d4
@@ -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 <perltidy@perltidy.sourceforge.net>'
-  )
-: ()
-),
-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 <perltidy@perltidy.sourceforge.net>'
+          )
+        : ()
+    ),
+
+    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',
+            },
+        },
+    },
 );