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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
use ExtUtils::MakeMaker;
use 5.016;
# Use command 'oodist' to produce your whole software release.
my $version = '1.15';
my $git = "https://github.com/markov2/perl5-Log-Report-Lexicon";
my $publish = "../public_html/log-report-lexicon";
my $homepage = "http://perl.overmeer.net/CPAN/";
my %oodist = (
oodoc_version => 3.03,
first_year => 2007,
email => "markov\@cpan.org",
include => [
'../String-Print',
'../Log-Report-Optional',
],
use => [
'../Log-Report',
'../Log-Report-Template',
],
parser => {
syntax => 'markov',
skip_links => [
'Locale::PO',
'Win32::Locale',
'Win32::Codepage',
],
pmhead => undef,
},
tests => {
},
release => {
publish => "$publish/source",
},
raw => {
publish => "$publish/raw",
},
generate => [ {
# Add real pod to the releases
format => 'pod3',
podtail => undef,
},
# You may add HTML formatters here.
# You may add exporter configurations here.
],
);
my %prereq = (
'Data::Dumper' => 0,
'Fcntl' => 0,
'File::Basename' => 0,
'File::Find' => 0,
'File::Spec' => 0,
'File::Temp' => 0,
'List::Util' => 0,
'Scalar::Util' => 0,
'Log::Report' => 1.40,
'Pod::Usage' => 0,
'POSIX' => 0,
'Encode' => 0,
# sometimes needed, dependencies too large
# PPI
# Locale::gettext
);
$prereq{ 'Win32::TieRegistry' } = 0.24
if $^O eq 'MSWin32';
WriteMakefile
NAME => 'Log::Report::Lexicon',
VERSION => $version,
PREREQ_PM => \%prereq,
EXE_FILES => [ 'bin/xgettext-perl' ],
AUTHOR => 'Mark Overmeer <markov@cpan.org>',
ABSTRACT => 'Log::Report translation table management',
LICENSE => 'perl_5',
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => "$git.git",
web => $git,
},
homepage => $homepage,
license => [ 'http//dev.perl.org/licenses/' ],
},
prereqs => {
develop => {
requires => {
'OODoc' => '3.00',
}
},
test => {
requires => {
'Test::More' => 1.00,
'Test::Pod' => 1.00,
}
},
},
# You may use multiple set-ups, see "oodist --make"
x_oodist => \%oodist,
};
sub MY::postamble { <<'__POSTAMBLE' }
# for translation tables
messages::
bin/xgettext-perl --mode=VERBOSE -p lib/Log/Report/messages lib bin
__POSTAMBLE
|