use ExtUtils::MakeMaker; # $Id: Makefile.PL,v 1.34 2005/11/05 23:19:32 lem Exp $ my $checker = 0; if ($] <= 5.006) { warn < install URI::URL cpan> install LWP::RobotUA cpan> install Mail::Mailer cpan> install HTML::Entities cpan> install HTML::LinkExtor cpan> quit at a nearby shell. The supplied scripts are intended to be useful to many audiences. If you have reasons not to install those modules, take a look at the scripts and see if they apply to your environment. EOF ; } WriteMakefile ( 'NAME' => 'Mail::Abuse', 'VERSION_FROM' => 'lib/Mail/Abuse.pm', # finds $VERSION 'EXE_FILES' => [ 'bin/abuso', 'bin/acat', 'bin/scan', 'bin/popfetch', 'bin/requester', 'bin/maps-scan', 'bin/spews-scan', 'bin/maps-gather', 'bin/google-gather', ], 'INSTALLSCRIPT' => '/usr/local/bin', 'PREREQ_PM' => { 'DBI' => 1.48, # DBI 1.48 is needed for some of the tests. However, the actual # modules can run under older DBIs. 1.46 is known to work # flawlessly. 'IO::File' => 0, 'PerlIO::gzip' => 0, 'Storable' => 0, 'DBD::CSV' => 0, 'Net::POP3' => 2.23, # ->getfh() is required 'Test::More' => 0, 'File::Path' => 0, 'File::Spec' => 0, 'File::Find' => 0, 'Date::Parse' => 0, 'NetAddr::IP' => 3.00, 'Date::Manip' => 0, 'Date::Parse' => 0, 'Digest::MD5' => 0, 'MIME::Entity' => 0, 'MIME::Parser' => 0, 'HTML::Parser' => 0, 'Mail::Mailer' => 0, 'Text::CSV_XS' => 0, # 'Config::Auto' => 0.03, 'Params::Validate' => 0, 'Tie::NetAddr::IP' => 1.51, 'WWW::Mechanize' => 0, # 'WWW::Google::Groups' => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Mail/Abuse.pm', AUTHOR => 'Luis E. Muñoz ') : ()), ); package MY; sub postamble { ' install :: @echo ============================================================== @echo " NOTICE" @echo ============================================================== @echo @echo This package contains various scripts that have been installed @echo in /usr/local/bin. Please check the bin directory in this @echo distribution for specific information. @echo @echo Each script includes its own documentation in POD. Use @echo @echo " perldoc bin/acat" @echo " perldoc bin/scan" @echo " perldoc bin/abuso" @echo " perldoc bin/popfetch" @echo " perldoc bin/requester" @echo " perldoc bin/maps-scan" @echo " perldoc bin/spews-scan" @echo " perldoc bin/maps-gather" @echo " perldoc bin/google-gather" @echo @echo to see it. Please read the documentation of each module @echo thoroughly before reporting bugs or asking for help. @echo @echo Under ./etc in this distribution, you should see some config @echo files. Please review and edit them prior to using this @echo software. '; }