5 use ExtUtils::MakeMaker;
7 my $EUMM_VERSION = $ExtUtils::MakeMaker::VERSION;
10 'NAME' => 'Pod::Perldoc',
11 'VERSION_FROM' => 'lib/Pod/Perldoc.pm',
13 'AUTHOR' => 'Mark Allen <mallen@cpan.org>', # maintainer
14 'ABSTRACT_FROM' => 'lib/Pod/Perldoc.pm',
17 # Are there any hard dependencies not covered here?
21 'File::Spec::Functions' => '0',
22 'File::Temp' => '0.22',
26 'Pod::Simple::RTF' => '3.16',
27 'Pod::Simple::XMLOutStream' => '3.16',
32 'Text::ParseWords' => '0',
36 ($ENV{PERL_CORE} ? () : ('EXE_FILES' => [qw( perldoc )])),
40 directory => 'corpus',
43 repository => 'https://github.com/mrallen1/Pod-Perldoc.git',
47 ($ENV{PERL_CORE} ? () :
48 ('MAN1PODS' => { 'perldoc.pod' => 'blib/man1/perldoc.1' })),
50 ($^V >= 5.008001 && $^V < 5.012 ? ( 'INSTALLDIRS' => 'perl' ) : ()),
52 ( $EUMM_VERSION > 6.31 ? (
56 test => {TESTS => 't/*.t t/*/*.t'}
62 { # Determine things that should *not* be installed
63 my($self, $path) = @_;
64 return '' if $path =~ m/~/;
71 $self->SUPER::init_dirscan;
72 # Need to force perldoc.pod to install at the top level of the lib dir:
73 $self->{PM}{'perldoc.pod'} = $self->catfile($self->{INST_LIB}, 'perldoc.pod');