-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile.PL
32 lines (25 loc) · 1.13 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
# $Id: Makefile.PL,v 1.11 2004/08/10 21:10:36 tvierling Exp $
use 5.006;
use ExtUtils::MakeMaker;
my $install = ( ExtUtils::MakeMaker::prompt(<<EOT . 'Do you wish to install the Sendmail::Milter interface?' => 'yes' ) =~ /^\s*(y)/i );
The Sendmail::PMilter distribution includes a module that supplies a
compatibility interface emulating the standard Sendmail::Milter API,
rather than using the native libmilter (which is not compatible
with modern Perl threads).
Choose "no" below ONLY IF the standard Sendmail::Milter package is
installed or will be installed. Otherwise, the compatibility
interface MUST be installed, as it is needed for Sendmail::PMilter
to function properly.
EOT
my %PM = (
'lib/Sendmail/PMilter.pm' => '$(INST_LIBDIR)/PMilter.pm',
'lib/Sendmail/PMilter/Context.pm' => '$(INST_LIBDIR)/PMilter/Context.pm'
);
$PM{'lib/Sendmail/Milter.pm'} = '$(INST_LIBDIR)/Milter.pm' if $install;
WriteMakefile(
ABSTRACT_FROM => 'lib/Sendmail/PMilter.pm',
AUTHOR => 'Todd Vierling <[email protected]>',
PM => \%PM,
NAME => 'Sendmail::PMilter',
VERSION_FROM => 'lib/Sendmail/PMilter.pm',
);