From dbbbea2b380a0cde8cf421f0c27dd5590fd18962 Mon Sep 17 00:00:00 2001 From: plobbes Date: Mon, 22 Jan 2007 06:54:53 +0000 Subject: [PATCH] - minor updates, will now add ABSTRACT_FROM if using Perl >= 5.005 --- Makefile.PL | 23 ++++++++++++++++------- 1 file 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 ', - '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 ' + ) + : () + ), ); -- 2.20.1