blob: abd0ca3e9181d44b4c0e14e16d1872122164267f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/perl -w
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
sub MY::postamble {
package MY;
shift->SUPER::postamble . <<'MAKE';
dist : README
README : lib/Net/Whois/Raw.pm
@$(PERL) -MPod::Text -e "pod2text('$<');" > $@
MAKE
}
WriteMakefile(
'NAME' => 'Net::Whois::Raw',
'VERSION_FROM' => 'lib/Net/Whois/Raw.pm', # finds $VERSION
'PREREQ_PM' => {'IO::Socket' => 1.0},
'EXE_FILES' => ['pwhois'],
'dist' => {'COMPRESS' => 'gzip --best --force'},
);
|