diff options
-rw-r--r-- | Makefile.PL | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/Makefile.PL b/Makefile.PL index c624b4b..cbb225f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,12 +1,21 @@ 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 => 0, + PFProAPI => 0, + }, + ( + $] >= 5.005 + ? ## Add these new keywords supported since 5.005 + ( + ABSTRACT_FROM => 'PayflowPro.pm', + AUTHOR => 'Ivan Kohler <ivan-payflowpro@420.am>' + ) + : () + ), ); |