2004-09-05 18:32:23 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
2013-04-22 02:33:46 +02:00
|
|
|
NAME => 'qpsmtpd',
|
|
|
|
VERSION_FROM => 'lib/Qpsmtpd.pm',
|
|
|
|
PREREQ_PM => {
|
|
|
|
'Mail::Header' => 0,
|
|
|
|
'MIME::Base64' => 0,
|
|
|
|
'Net::DNS' => 0.39,
|
|
|
|
'Data::Dumper' => 0,
|
|
|
|
'File::Temp' => 0,
|
|
|
|
'Time::HiRes' => 0,
|
|
|
|
'Net::IP' => 0,
|
|
|
|
'Date::Parse' => 0,
|
|
|
|
},
|
|
|
|
ABSTRACT => 'Flexible smtpd daemon written in Perl',
|
|
|
|
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
|
|
|
|
EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)],
|
|
|
|
dist => {COMPRESS => 'gzip -9f',},
|
|
|
|
clean => {
|
|
|
|
FILES => ['t/config/greylist.dbm*',],
|
|
|
|
},
|
2004-09-05 18:32:23 +02:00
|
|
|
);
|
2004-09-05 19:28:38 +02:00
|
|
|
|
|
|
|
sub MY::libscan {
|
|
|
|
my $path = $_[1];
|
|
|
|
return '' if $path =~ /\B\.svn\b/;
|
|
|
|
return $path;
|
|
|
|
}
|
|
|
|
|
2009-04-03 08:30:20 +02:00
|
|
|
sub MY::postamble {
|
2013-04-22 02:33:46 +02:00
|
|
|
qq[
|
2009-04-03 08:30:20 +02:00
|
|
|
testcover :
|
|
|
|
\t cover -delete && \\
|
2013-04-22 02:33:46 +02:00
|
|
|
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\
|
|
|
|
cover
|
2009-04-03 08:30:20 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
}
|