5 use ExtUtils::MakeMaker;
7 die 'OS unsupported' unless $^O and $^O eq 'darwin';
9 my $dist = 'Mac-NSGetExecutablePath';
11 (my $name = $dist) =~ s{-}{::}g;
13 (my $file = $dist) =~ s{-}{/}g;
14 $file = "lib/$file.pm";
22 my %BUILD_REQUIRES = (
23 'ExtUtils::MakeMaker' => 0,
29 configure_requires => {
30 'ExtUtils::MakeMaker' => 0,
37 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
38 homepage => "http://search.cpan.org/dist/$dist/",
39 license => 'http://dev.perl.org/licenses/',
40 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
46 AUTHOR => 'Vincent Pit <perl@profvince.com>',
48 VERSION_FROM => $file,
49 ABSTRACT_FROM => $file,
51 BUILD_REQUIRES => \%BUILD_REQUIRES,
52 PREREQ_PM => \%PREREQ_PM,
53 MIN_PERL_VERSION => '5.006',
56 PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
57 COMPRESS => 'gzip -9f', SUFFIX => 'gz',
60 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*"