File: Makefile.PL

package info (click to toggle)
libmarkdown-render-perl 1.60.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: perl: 498; makefile: 6
file content (80 lines) | stat: -rw-r--r-- 1,748 bytes parent folder | download
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
# autogenerated by /home/rlauer/bin/make-cpan-dist.pl on Wed Nov 27 17:18:30 2024

use strict;
use warnings;

use ExtUtils::MakeMaker;
use File::ShareDir::Install;

if ( -d 'share' ) {
  install_share 'share';
}

WriteMakefile(
  NAME             => 'Markdown::Render',
  MIN_PERL_VERSION => '5.016',
  AUTHOR           => 'BIGFOOT <bigfoot@cpan.org>',
  VERSION_FROM     => 'lib/Markdown/Render.pm',
  ABSTRACT         => 'Render markdown using GitHub API',
  LICENSE          => 'perl',
  PL_FILES         => {},
  EXE_FILES        => ['bin/md-utils'],
  PREREQ_PM        => {
    'Class::Accessor::Fast' => '0.51',
    'Config::Tiny'          => '2.28',
    'Date::Format'          => '2.24',
    'HTTP::Request'         => '6.45',
    'IO::Scalar'            => '2.113',
    'JSON'                  => '4.10',
    'LWP::UserAgent'        => '6.77',
    'Readonly'              => '2.05'
  },
  BUILD_REQUIRES => {
    'ExtUtils::MakeMaker'     => '6.64',
    'File::ShareDir::Install' => 0,
  },
  CONFIGURE_REQUIRES => {
    'ExtUtils::MakeMaker'     => '6.64',
    'File::ShareDir::Install' => 0,
  },
  TEST_REQUIRES => {},
  META_MERGE    => {
    'meta-spec' => { 'version' => 2 },
    'provides'  => {
      'Markdown::Render' => {
        'file'    => 'lib/Markdown/Render.pm',
        'version' => '1.60.2'
      }
    }
  }

);

package MY;

use File::ShareDir::Install;
use English qw(-no_match_vars);

sub postamble {
  my $self = shift;

  my @ret = File::ShareDir::Install::postamble($self);

  my $postamble = join "\n", @ret;

  if ( -e 'postamble' ) {

    local $RS = undef;

    open my $fh, '<', 'postamble'
      or die "could not open postamble\n";

    $postamble .= <$fh>;

    close $fh;
  }

  return $postamble;
}

1;