diff options
author | plobbes <plobbes> | 2007-01-22 06:54:53 +0000 |
---|---|---|
committer | plobbes <plobbes> | 2007-01-22 06:54:53 +0000 |
commit | dbbbea2b380a0cde8cf421f0c27dd5590fd18962 (patch) | |
tree | 0b870a1e26dbf252a4c6144e5ee64e06efa7fc1d | |
parent | 4a68dd973db000a9166b68301bc816efe9deb744 (diff) |
- minor updates, will now add ABSTRACT_FROM if using Perl >= 5.005
-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>' + ) + : () + ), ); |