Converted to Module::Install.
[catagits/Catalyst-Plugin-RequireSSL.git] / Makefile.PL
index 192903a..36e888f 100644 (file)
@@ -1,31 +1,38 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
-    
-    unless (eval "use Module::Build::Compat 0.02; 1" ) {
-      print "This module requires Module::Build to install itself.\n";
-      
-      require ExtUtils::MakeMaker;
-      my $yn = ExtUtils::MakeMaker::prompt
-       ('  Install Module::Build now from CPAN?', 'y');
-      
-      unless ($yn =~ /^y/i) {
-       die " *** Cannot install without Module::Build.  Exiting ...\n";
-      }
-      
-      require Cwd;
-      require File::Spec;
-      require CPAN;
-      
-      # Save this 'cause CPAN will chdir all over the place.
-      my $cwd = Cwd::cwd();
-      
-      CPAN::Shell->install('Module::Build::Compat');
-      CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
-       or die "Couldn't install Module::Build, giving up.\n";
-      
-      chdir $cwd or die "Cannot chdir() back to $cwd: $!";
-    }
-    eval "use Module::Build::Compat 0.02; 1" or die $@;
-    
-    Module::Build::Compat->run_build_pl(args => \@ARGV);
-    require Module::Build;
-    Module::Build::Compat->write_makefile(build_class => 'Module::Build');
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use inc::Module::Install 0.91;
+
+use Module::Install::ReadmeFromPod 0.06;
+use Module::Install::AuthorRequires 0.02;
+use Module::Install::Repository 0.06;
+use Module::Install::ExtraTests 0.006;
+
+name 'Catalyst-Plugin-RequireSSL';
+all_from 'lib/Catalyst/Plugin/RequireSSL.pm';
+readme_from 'lib/Catalyst/Plugin/RequireSSL.pm';
+auto_set_repository;
+
+requires 'Catalyst' => '5.23';
+requires 'NEXT';
+requires 'base';
+
+test_requires 'Test::More';
+test_requires 'lib';
+test_requires 'Data::Dumper';
+test_requires 'FindBin';
+test_requires 'File::Spec';
+test_requires 'Catalyst::Test';
+test_requires 'HTTP::Request::Common';
+
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_requires 'Test::Perl::Critic' => '1.01';
+
+extra_tests;
+
+auto_install;
+
+WriteAll;