ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/AnyEvent-MCP/Makefile.PL
Revision: 1.13
Committed: Fri Oct 16 15:35:14 2026 UTC (3 days, 12 hours ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +15 -9 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 use ExtUtils::MakeMaker;
2    
3     my $mm = MM->new({
4     dist => {
5 root 1.6 PREOP => 'pod2text lib/AnyEvent/MCP/Intro.pod | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
6 root 1.1 COMPRESS => 'gzip -9v',
7     SUFFIX => '.gz',
8     },
9     NAME => "MCP",
10     VERSION_FROM => "lib/AnyEvent/MCP.pm",
11 root 1.5 EXE_FILES => [
12     "bin/anyevent-mcp",
13     "bin/anyevent-mcp-askpermission",
14 root 1.11 "bin/anyevent-mcp-form-elicitation",
15 root 1.5 "bin/mcp-multibroker",
16     "bin/mcp-fs",
17     "bin/mcp-vim",
18 root 1.12 "bin/mcp-webbrowser",
19 root 1.10 "bin/mcp-ask-user",
20 root 1.5 ],
21 root 1.1 PREREQ_PM => {
22 root 1.11 AnyEvent => 5.33,
23     AnyEvent::HTTP => 0,
24     AnyEvent::WebSocket::Server => 0,
25     AnyEvent::WebSocket::Message => 0,
26     common::sense => 3.3,
27     parent => 0,
28     JSON::XS => 3,
29     Digest::SHA => 0,
30     Scalar::Util => 0,
31     MIME::Base64 => 0,
32     Encode => 0,
33     },
34     TEST_REQUIRES => {
35     Test::More => 0.88,
36     Pod::Checker => 0,
37     Protocol::WebSocket::Frame => 0,
38 root 1.1 },
39     });
40    
41     $mm->flush;
42    
43 root 1.13 sub MY::postamble {
44     <<'MAKE'
45     dist: publish
46    
47     publish: publish_vim_plugin publish_webbrowser_userscript
48    
49     publish_vim_plugin:
50     rsync -p --chmod=F644 vim/plugin/mcp-vim.vim dist.schmorp.de:/var/www/dist.schmorp.de/mcp-vim/1/.
51    
52     publish_webbrowser_userscript:
53     rsync -p --chmod=F644 webbrowser/mcp-webbrowser.user.js dist.schmorp.de:/var/www/dist.schmorp.de/mcp-webbrowser/1/.
54    
55     MAKE
56     }
57