Behavior of merge_range adjusted #35559
[p5sagit/Excel-Template.git] / Makefile.PL
index 89504ef..607a3af 100644 (file)
@@ -1,16 +1,40 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    NAME         => 'Excel::Template',
-    VERSION_FROM => 'lib/Excel/Template.pm', # finds $VERSION
-    AUTHOR       => 'Rob Kinyon (rkinyon@columbus.rr.com',
-    ABSTRACT     => 'Excel::Template',
-    PREREQ_PM    => {
-                     'Test::Simple' => 0.44,
-                     'Spreadsheet::WriteExcel' => 0.42,
-                     'XML::Parser' => 0.01,
-                     'IO::Scalar' => 0.01,
-                     'IO::File' => 0.01,
-                    },
+use inc::Module::Install;
+
+name 'Excel-Template';
+perl_version '5.006';
+all_from 'lib/Excel/Template.pm';
+author q{Rob Kinyon <rob.kinyon@gmail.com>};
+license 'perl';
+resources(
+    repository => {
+        url  => 'git://git.shadowcat.co.uk/p5sagit/Excel-Template.git',
+        web  => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Excel-Template.git;a=summary',
+        type => 'git',
+    },
 );
+
+test_requires 'File::Path'      => 0;
+test_requires 'File::Temp'      => 0;
+test_requires 'Test::Deep'      => '0.095';
+test_requires 'Test::More'      => '0.47';
+test_requires 'Test::Exception' => '0.21';
+
+requires 'Test::More'                       => 0;
+requires 'XML::Parser'                      => 0;
+requires 'IO::Scalar'                       => 0;
+requires 'File::Basename'                   => 0;
+requires 'Spreadsheet::WriteExcel'          => '0.42';
+requires 'Spreadsheet::WriteExcel::Utility' => 0;
+
+if ($] < 5.008) {
+    print "#\n";
+    print "# Note: If you want to work with Unicode, you will need to install\n";
+    print "# the optional module Unicode::String and set USE_UNICODE to true.\n";
+    print "#\n";
+    recommends 'Unicode::String';
+}
+
+auto_install;
+
+WriteAll;
+