xref: /openbsd-src/gnu/usr.bin/perl/dist/Tie-File/Makefile.PL (revision 5486feefcc8cb79b19e014ab332cc5dfd05b3b33)
1## This -*- perl -*- script writes the Makefile for Tie::File
2# You should read "perldoc perlmodinstall" for instructions on
3#  how to install modules like this.
4
5require 5.006; # module uses 'our'
6use strict;
7use ExtUtils::MakeMaker;
8WriteMakefile(
9    'NAME' => 'Tie::File',
10    'VERSION_FROM'    => 'lib/Tie/File.pm',
11    'ABSTRACT_FROM'   => 'lib/Tie/File.pm',
12    'AUTHOR'          => 'Mark Jason Dominus <MJD@cpan.org>',
13    'dist'=> { COMPRESS => 'gzip -6f', SUFFIX => 'gz', },
14    INSTALLDIRS => ($] >= 5.007 && $] < 5.012) ? 'perl' : 'site',
15    DIR => [],
16    META_MERGE  => {
17        resources => {
18            license     => 'http://dev.perl.org/licenses/',
19            bugtracker  => 'https://github.com/Perl/perl5/issues',
20            repository  => 'https://github.com/Perl/perl5/tree/blead/dist/Tie-File',
21            MailingList => 'http://lists.perl.org/list/perl5-porters.html',
22        },
23    },
24    PREREQ_PM => {
25        'constant' => '1.03',
26    },
27);
28# generated by Makepmdist (mkpmdist) v1.01
29
30sub libscan { # Determine what shouldn't get installed
31  my($self, $path) = @_;
32  return '' if $path =~ m/~/;
33  return $path;
34}
35__END__
36
37