distarification
Robert Sedlacek [Fri, 25 Sep 2015 14:51:45 +0000 (14:51 +0000)]
Makefile.PL [new file with mode: 0644]
maint/Makefile.PL.include [new file with mode: 0644]

diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..7bd2fe5
--- /dev/null
@@ -0,0 +1,27 @@
+use strict;
+use warnings FATAL => 'all';
+use ExtUtils::MakeMaker;
+
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
+my $eumm_version  = eval $ExtUtils::MakeMaker::VERSION;
+
+my %_test_req = (
+    'Test::More' => 0,
+);
+my %_build_req = (
+    ($eumm_version < 6.63_03) ? (%_test_req) : (),
+);
+my %_req = (
+    ($eumm_version < 6.55_01) ? (%_build_req) : (),
+    'DBIx::Class' => 0,
+);
+
+WriteMakefile(
+  NAME => 'DBIx::Class::ParameterizedJoinHack',
+  VERSION_FROM => 'lib/DBIx/Class/ParameterizedJoinHack.pm',
+  LICENSE => 'perl5',
+  TEST_REQUIRES => \%_test_req,
+  BUILD_REQUIRES => \%_build_req,
+  PREREQ_PM => \%_req,
+);
diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include
new file mode 100644 (file)
index 0000000..524b5b5
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN {
+  -e 'Distar'
+    or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git")
+}
+use lib 'Distar/lib';
+use Distar;
+
+author 'Matt S. Trout <mst@shadowcat.co.uk>';