X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=456dbc05311742dc9e4a13f3aa5c8b226bc15f7a;hb=262a45329fe2733495bd04e24e41906ec7c29e0c;hp=b598ed5fc5ab40b1ee317dac4f178be0fe859c8d;hpb=1b67123aedf3f11f9097a1a04a73ac940f4ec971;p=catagits%2FCatalyst-Engine-STOMP.git diff --git a/Makefile.PL b/Makefile.PL index b598ed5..456dbc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use inc::Module::Install; +use inc::Module::Install 0.91; use 5.008006; license 'perl'; @@ -9,6 +9,7 @@ all_from 'lib/Catalyst/Engine/Stomp.pm'; requires 'Catalyst::Engine::Embeddable' => '0.0.1'; requires 'Catalyst::Runtime' => '5.80004'; requires 'Moose' => undef; +requires 'MooseX::Types' => undef; requires 'MooseX::Workers' => '0.05'; requires 'Net::Stomp' => '0.34'; requires 'YAML::XS' => '0.32'; @@ -16,10 +17,7 @@ requires 'Data::Serializer' => '0.49'; requires 'namespace::autoclean' => '0.05'; test_requires 'Alien::ActiveMQ' => '0.00003'; - -no_index package => 'StompTestApp'; -no_index package => 'StompTestApp::Controller::TestController'; -no_index package => 'StompTestApp::Controller::TestJsonController'; +test_requires 'Catalyst::Plugin::ConfigLoader' => undef; my @force_build_requires_if_author = qw( Test::NoTabs @@ -60,7 +58,7 @@ sub darwin_check_no_resource_forks { # TAR on 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE # On 10.5 (Leopard) it wants COPYFILE_DISABLE - my $attr = $osx_ver eq '10.5' ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE'; + my $attr = $osx_ver =~ /^10.5/ ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE'; makemaker_args(dist => { PREOP => qq{\@if [ "\$\$$attr" != "true" ]; then}. qq{ echo "You must set the ENV variable $attr to true,"; }.