-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.PL
43 lines (35 loc) · 872 Bytes
/
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
use ExtUtils::MakeMaker;
use 5.8.0;
###---------------------###
# Copyright 2003-2013 - Paul Seamons #
# Distributed under the Artistic License without warranty #
WriteMakefile(
NAME => "CGI::Ex",
AUTHOR => "Paul Seamons",
ABSTRACT_FROM => "lib/CGI/Ex.pm",
VERSION_FROM => "lib/CGI/Ex.pm",
INSTALLDIRS => 'site',
PREREQ_PM => {
'Template::Alloy' => '1.020',
},
dist => {
DIST_DEFAULT => 'all tardist',
COMPRESS => 'gzip -vf',
SUFFIX => '.gz',
},
clean => {
FILES => '*~',
},
realclean => {
FILES => '*~',
},
);
package MY;
sub postamble {
return qq^
pm_to_blib: README
README: \$(VERSION_FROM)
pod2text \$(VERSION_FROM) > README
^;
}
1;