Subject: | [PATCH] Makefile.PL and META.yml |
Patch for better Makefile.PL and META.yml (which is currently missing).
Attached:
patch for Makefile.PL
Makefile.PL
dist that is ready for upload to PAUSE
--
Alexandr Ciornii, http://chorny.net
Subject: | Pod-POM-0.18.zip |
Message body not shown because it is not plain text.
Subject: | Makefile.PL.patch |
--- Makefile.PL.dist 2002-01-31 11:04:36.000000000 +0200
+++ Makefile.PL 2009-01-07 01:00:34.468750000 +0200
@@ -1,3 +1,4 @@
+use 5.005; #by perlver - uses base.pm
use ExtUtils::MakeMaker;
my %opts = (
@@ -15,5 +16,12 @@
$opts{ ABSTRACT } = 'POD Object Model',
}
-WriteMakefile( %opts );
+if ($ExtUtils::MakeMaker::VERSION >= 6.48) {
+ $opts{ MIN_PERL_VERSION } = '5.005';
+}
+if ($ExtUtils::MakeMaker::VERSION >= 6.31) {
+ $opts{ LICENSE } = 'perl';
+}
+
+WriteMakefile( %opts );
Subject: | Makefile.PL |
use 5.005; #by perlver - uses base.pm
use ExtUtils::MakeMaker;
my %opts = (
'NAME' => 'Pod::POM',
'VERSION_FROM' => 'lib/Pod/POM.pm',
'EXE_FILES' => [ 'bin/pom2', 'bin/podlint' ],
'dist' => {
'COMPRESS' => 'gzip',
'SUFFIX' => 'gz',
},
);
if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
$opts{ AUTHOR } = 'Andy Wardley <abw@kfs.org>';
$opts{ ABSTRACT } = 'POD Object Model',
}
if ($ExtUtils::MakeMaker::VERSION >= 6.48) {
$opts{ MIN_PERL_VERSION } = '5.005';
}
if ($ExtUtils::MakeMaker::VERSION >= 6.31) {
$opts{ LICENSE } = 'perl';
}
WriteMakefile( %opts );