File: Makefile.PL

package info (click to toggle)
libtext-markdown-perl 1.000031-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,988 kB
  • sloc: perl: 2,164; makefile: 9
file content (37 lines) | stat: -rw-r--r-- 1,048 bytes parent folder | download | duplicates (4)
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
# Load the Module::Install bundled in ./inc/
use inc::Module::Install;

# Define metadata
name            'Text-Markdown';
author          'Tomas Doran <bobtfish@bobtfish.net>';
license         'bsd';
all_from        'lib/Text/Markdown.pm';

resources bugtracker => 'http://github.com/bobtfish/text-markdown/issues';
resources repository => 'http://github.com/bobtfish/text-markdown/';

# Specific dependencies
perl_version    '5.008';
requires        'Digest::MD5'     => undef;
requires        'Text::Balanced'  => undef;
requires        'Encode'          => undef;
test_requires  'Test::More'      => '0.42';
test_requires  'Test::Exception' => undef;
test_requires  'List::MoreUtils' => undef;
test_requires 'Test::Differences' => undef;
test_requires  'FindBin'         => undef;

if ($Module::Install::AUTHOR) {
    system("pod2text lib/Text/Markdown.pm > README")
        and die $!;
    require Module::Install::CheckConflicts;
}

check_conflicts(
    'Text::MultiMarkdown' => '1.0.27',
);

install_script 'script/Markdown.pl';

WriteAll;