ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/AnyEvent-MCP/Makefile.PL
Revision: 1.6
Committed: Sun Oct 11 01:46:30 2026 UTC (10 days, 2 hours ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.5: +13 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 use ExtUtils::MakeMaker;
2 root 1.6 use File::Find ();
3    
4     # Include standalone .pod pages alongside modules in the installed library.
5     my %pm;
6     File::Find::find (sub {
7     return unless /\.p(?:m|od)\z/;
8     my $source = $File::Find::name;
9     $source =~ s{\A\./}{};
10     (my $dest = $source) =~ s{\Alib/}{\$(INST_LIB)/};
11     $pm{$source} = $dest;
12     }, "lib");
13 root 1.1
14     my $mm = MM->new({
15     dist => {
16 root 1.6 PREOP => 'pod2text lib/AnyEvent/MCP/Intro.pod | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
17 root 1.1 COMPRESS => 'gzip -9v',
18     SUFFIX => '.gz',
19     },
20     NAME => "MCP",
21     VERSION_FROM => "lib/AnyEvent/MCP.pm",
22 root 1.6 PM => \%pm,
23 root 1.5 EXE_FILES => [
24     "bin/anyevent-mcp",
25     "bin/anyevent-mcp-askpermission",
26     "bin/mcp-multibroker",
27     "bin/mcp-fs",
28     "bin/mcp-vim",
29     ],
30 root 1.1 PREREQ_PM => {
31     AnyEvent => 5.33,
32 root 1.2 AnyEvent::HTTP => 0,
33 root 1.1 common::sense => 3.3,
34     parent => 0,
35     JSON::XS => 3,
36     HTTP::Parser::XS => 0,
37     Digest::SHA => 0,
38     Scalar::Util => 0,
39     MIME::Base64 => 0,
40     Encode => 0,
41     },
42     });
43    
44     $mm->flush;
45