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 'MAN1PODS' => { 'perldoc.pod' => 'blib/man1/perldoc.1' },
49 ($^V >= 5.008001 && $^V < 5.012 ? ( 'INSTALLDIRS' => 'perl' ) : ()),
51 ( $EUMM_VERSION > 6.31 ? (
55 test => {TESTS => 't/*.t t/*/*.t'}
61 { # Determine things that should *not* be installed
62 my($self, $path) = @_;
63 return '' if $path =~ m/~/;
70 $self->SUPER::init_dirscan;
71 # Need to force perldoc.pod to install at the top level of the lib dir:
72 $self->{PM}{'perldoc.pod'} = $self->catfile($self->{INST_LIB}, 'perldoc.pod');