depend on B:OP:HTTPS 0.06 for Crypt::SSLeay fixes
[Business-OnlinePayment-PayflowPro.git] / Makefile.PL
index c624b4b..5c4c816 100644 (file)
@@ -1,12 +1,26 @@
 use ExtUtils::MakeMaker;
+
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 WriteMakefile(
-    'NAME'         => 'Business::OnlinePayment::PayflowPro',
-    'VERSION_FROM' => 'PayflowPro.pm', # finds $VERSION
-    'AUTHOR'       => 'Ivan Kohler <ivan-payflowpro@420.am>',
-    'PREREQ_PM'    => { 'Business::OnlinePayment' => 0,
-                        'PFProAPI' => 0,
-                      },
-    #'NORECURS'     => 1, # dont descend into subdirectories
+    NAME         => 'Business::OnlinePayment::PayflowPro',
+    VERSION_FROM => 'PayflowPro.pm',
+    PREREQ_PM    => {
+        Business::OnlinePayment        => '3',
+        Business::OnlinePayment::HTTPS => '0.05',
+        CGI                            => 0,
+        Digest::MD5                    => 0,
+    },
+    (
+        $] >= 5.005
+        ?    ## Add these new keywords supported since 5.005
+          (
+            ABSTRACT_FROM => 'PayflowPro.pm',
+            AUTHOR        => join( ' and ',
+                'Ivan Kohler <ivan-payflowpro@420.am>',
+                'Phil Lobbes <phil at perkpartners.com>',
+            ),
+          )
+        : ()
+    ),
 );