root/Makefile.PL

Revision 320:789f94b9b8cc, 1.7 KB (checked in by Anselm Lingnau <anselm@…>, 6 months ago)

Fix the Makefile.PL to say ?Project Lancelot?.

Line 
1#!/usr/bin/perl
2
3use ExtUtils::MakeMaker;
4
5use lib 'inc';
6use ExtUtils::AutoInstall (
7    -core => [
8       'Return::Value' => '',
9       'Net::Cmd' => '2.26',
10       'Net::Config' => '1.10',
11       'Net::SMTP' => '2.29',
12       'DBI' => '1.46',
13       'DBD::SQLite' => '1.13',
14       'Digest::SHA1' => '',
15       'File::Basename' => '',
16       'File::Spec' => '',
17       'File::Slurp' => '9999.07',
18       'MIME::Base64' => '3.05',
19       'MIME::QuotedPrint' => '3.03',
20       'Sort::Versions' => '1.5',
21       'Pod::Usage' => '',
22       'Time::Piece' => '1.08',
23       'Time::Format' => '1.00',
24       'Email::Date' => '1.03',
25       'Email::Address' => '1.80',
26       'Email::MessageID' => '1.31',
27       'Email::Simple' => '2.003',
28       'Email::Simple::Creator' => '1.4',
29       'Email::MIME' => '1.855',
30       'Email::MIME::Creator' => '1.41',
31       'Email::MIME::ContentType' => '1.0',
32       'Email::MIME::Encodings' => '',
33       'Email::MIME::Modifier' => '1.42',
34       'Email::Send' => '2.171',
35       'Email::Send::SMTP' => '2.04',
36         # for tests
37       'File::Temp' => '',
38       'File::Path' => '',
39       'IPC::Open3' => '',
40       'Test::DatabaseRow' => '',
41       'Test::More' => '',
42    ],
43);
44
45WriteMakefile(
46    NAME         => 'Project Lancelot',
47    DISTNAME     => 'project-lancelot',
48    ABSTRACT     => 'A lean and straightforward mailing list manager',
49    AUTHOR       => 'Anselm Lingnau <anselm@anselms.net>',
50    VERSION_FROM => 'lib/Lancelot.pm',
51    EXE_FILES    => [ grep { !/~$/} glob "bin/[lp]l-*" ],
52
53    macro        => {
54        MAN1EXT => '1',
55    }
56);
57
58package MY;
59
60sub manifypods {
61    my $inherited = shift->SUPER::manifypods(@_);
62    $inherited =~ s/section=1p/section=1 --center="Project Lancelot"/;
63    $inherited;
64}
Note: See TracBrowser for help on using the browser.