This repository has been archived by the owner on Nov 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
59 lines (44 loc) · 1.6 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
use ExtUtils::MakeMaker;
print <<'HERE';
=====================================================================
This module is looking for a maintainer!
No one is maintaining this module, but you can take up its care
and feeding by requesting CPAN persmissions from [email protected].
This version is assigned to the ADOPTME CPAN user and hosted in
GitHub:
https://github.com/CPAN-Adopt-Me/apache-htaccess
=====================================================================
HERE
my $text = eval { require Text::Diff };
my $file = eval { require File::Copy };
print <<"HERE" unless $text && $file;
Some of the tests for this module use modules that Apache::Htaccess
does not need itself. If you do not have these modules installed
I will not force you to install them. The appropriate tests will
be skipped during `make test`.
parse.t - needs Text::Diff and File::Copy
HERE
print "I could not find Text::Diff\n" unless $text;
print "I could not find File::Copy\n" unless $file;
print "\n\n" unless $text && $file;
WriteMakefile(
NAME => 'Apache::Htaccess',
VERSION_FROM => 'lib/Htaccess.pm',
PM =>
{
'lib/Htaccess.pm' => '$(INST_LIBDIR)/Htaccess.pm',
},
PREREQ_PM => {},
AUTHOR => 'Matt Cashner <[email protected]>',
ABSTRACT => 'Create and manipulate Apache .htaccess files',
'META_MERGE' => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/CPAN-Adopt-Me/apache-htaccess',
web => 'https://github.com/CPAN-Adopt-Me/apache-htaccess',
},
},
},
);