From: Robert Sedlacek Date: Fri, 25 Sep 2015 14:51:45 +0000 (+0000) Subject: distarification X-Git-Tag: v0.000001~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4a032d4f31cbb69ab858e8e6502cedeb55b3b0df;p=dbsrgits%2FDBIx-Class-ParameterizedJoinHack.git distarification --- diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..7bd2fe5 --- /dev/null +++ b/Makefile.PL @@ -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 index 0000000..524b5b5 --- /dev/null +++ b/maint/Makefile.PL.include @@ -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 ';