use
if
! (
grep
{
$_
eq
'.'
}
@INC
),
qw[lib .]
;
use
5.030000;
my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"Access macOS file tags (aka Finder labels)"
,
"AUTHOR"
=>
"Arne Johannessen <ajnn\@cpan.org>"
,
"CONFIGURE_REQUIRES"
=> {
"ExtUtils::MakeMaker"
=> 0
},
"DISTNAME"
=>
"Mac-Finder-Tags"
,
"LICENSE"
=>
"artistic_2"
,
"MIN_PERL_VERSION"
=>
"5.030000"
,
"NAME"
=>
"Mac::Finder::Tags"
,
"PREREQ_PM"
=> {
"Mac::PropertyList"
=> 0,
"Object::Pad"
=>
"0.60"
,
"Path::Tiny"
=> 0
},
"TEST_REQUIRES"
=> {
"Test::Exception"
=> 0,
"Test::More"
=>
"0.88"
,
"Test::Warnings"
=>
"0.010"
},
"VERSION"
=>
"0.02"
,
"test"
=> {
"TESTS"
=>
"t/*.t"
}
);
my
%FallbackPrereqs
= (
"Mac::PropertyList"
=> 0,
"Object::Pad"
=>
"0.60"
,
"Path::Tiny"
=> 0,
"Test::Exception"
=> 0,
"Test::More"
=>
"0.88"
,
"Test::Warnings"
=>
"0.010"
);
unless
(
eval
{ ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete
$WriteMakefileArgs
{TEST_REQUIRES};
delete
$WriteMakefileArgs
{BUILD_REQUIRES};
$WriteMakefileArgs
{PREREQ_PM} = \
%FallbackPrereqs
;
}
delete
$WriteMakefileArgs
{CONFIGURE_REQUIRES}
unless
eval
{ ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(
%WriteMakefileArgs
);