]> git.vpit.fr Git - perl/modules/Regexp-Wildcards.git/blobdiff - Makefile.PL
Fix passing $^O to ->type
[perl/modules/Regexp-Wildcards.git] / Makefile.PL
index 20c7a46b842bf2e7b1e9b705275f387f99da5f5c..2a39eb8f6becc027c9e0e0e8db74b394b9df0155 100644 (file)
@@ -2,16 +2,42 @@ use strict;
 use warnings;
 use ExtUtils::MakeMaker;
 
+my $dist = 'Regexp-Wildcards';
+
+my %META = (
+ configure_requires => {
+  'ExtUtils::MakeMaker' => 0,
+ },
+ build_requires => {
+  'ExtUtils::MakeMaker' => 0,
+  'Test::More'          => 0,
+ },
+ resources => {
+  bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
+  homepage   => "http://search.cpan.org/dist/$dist/",
+  license    => 'http://dev.perl.org/licenses/',
+  repository => "http://git.profvince.com/perl/modules/$dist.git",
+ },
+);
+
 WriteMakefile(
-    NAME                => 'Regexp::Wildcards',
-    AUTHOR              => 'Vincent Pit <perl@profvince.com>',
-    LICENSE             => 'perl',
-    VERSION_FROM        => 'lib/Regexp/Wildcards.pm',
-    ABSTRACT_FROM       => 'lib/Regexp/Wildcards.pm',
-    PL_FILES            => {},
-    PREREQ_PM => {
-        'Test::More' => 0,
+    NAME             => 'Regexp::Wildcards',
+    AUTHOR           => 'Vincent Pit <perl@profvince.com>',
+    LICENSE          => 'perl',
+    VERSION_FROM     => 'lib/Regexp/Wildcards.pm',
+    ABSTRACT_FROM    => 'lib/Regexp/Wildcards.pm',
+    PL_FILES         => {},
+    PREREQ_PM        => {
+        'Carp'           => 0,
+        'Text::Balanced' => 0,
+    },
+    MIN_PERL_VERSION => 5.006,
+    META_MERGE       => \%META,
+    dist             => {
+        PREOP    => 'pod2text lib/Regexp/Wildcards.pm > $(DISTVNAME)/README',
+        COMPRESS => 'gzip -9f', SUFFIX => 'gz'
+    },
+    clean            => {
+        FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
     },
-    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
-    clean               => { FILES => 'Regexp-Wildcards-*' },
 );