convert to Distar
Matt S Trout [Tue, 15 Feb 2011 19:47:39 +0000 (19:47 +0000)]
MANIFEST.SKIP [deleted file]
Makefile.PL
maint/Makefile.PL.include [new file with mode: 0644]

diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644 (file)
index 8783bd4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^(?!script/\w+\.pl|examples|docs|lib/[\/\w]+\.p(m|od)|inc/|t/\w+\.t|t/.*/|Makefile.PL$|README$|MANIFEST$|Changes$|META.yml$)
index bd9fc89..45042d1 100644 (file)
@@ -1,12 +1,18 @@
 use strict;
 use warnings FATAL => 'all';
-use inc::Module::Install 0.91;
+use 5.008001;
+use ExtUtils::MakeMaker;
 
-all_from 'lib/Web/Simple.pm';
-requires 'Syntax::Keyword::Gather';
-requires 'Plack';
-requires 'Moo';
-requires 'warnings::illegalproto';
-requires 'Data::Dumper::Concise';
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
-WriteAll;
+WriteMakefile(
+  NAME => 'Web-Simple',
+  VERSION_FROM => 'lib/Web/Simple.pm',
+  PREREQ_PM => {
+    'Syntax::Keyword::Gather' => '1.001',
+    'Plack' => '0.9968',
+    'Moo' => '0.009005',
+    'warnings::illegalproto' => '0.001',
+    'Data::Dumper::Concise' => '2.020',
+  },
+);
diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include
new file mode 100644 (file)
index 0000000..4fbe3e5
--- /dev/null
@@ -0,0 +1,7 @@
+use Distar;
+
+author 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>';
+
+manifest_include 't/globbery' => qr/.*/;
+manifest_include 'docs' => qr/.*/;
+manifest_include 'examples' => qr/.*/;