1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup martanne vis 0.3 v |
---|
8 | categories editors |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:israelchauca openmaintainer |
---|
11 | license ISC |
---|
12 | description a highly efficient text editor |
---|
13 | long_description vis is a highly efficient screen-oriented text editor \ |
---|
14 | combining the strengths of both vi(m) and sam. |
---|
15 | checksums rmd160 d93c5e72f235b74787df2e7037257a72b659cf1d \ |
---|
16 | sha256 6d8c005a51002b64effcc5856bd55e129b69dcac91732c777039405cfd792af4 |
---|
17 | depends_lib port:ncurses \ |
---|
18 | port:libtermkey \ |
---|
19 | port:tre \ |
---|
20 | port:lua \ |
---|
21 | port:lua-lpeg |
---|
22 | |
---|
23 | patchfiles patch-Makefile.diff \ |
---|
24 | patch-man-vis-clipboard.1.diff \ |
---|
25 | patch-man-vis-complete.1.diff \ |
---|
26 | patch-man-vis-digraph.1.diff \ |
---|
27 | patch-man-vis-menu.1.diff \ |
---|
28 | patch-man-vis-open.1.diff \ |
---|
29 | patch-man-vis.1.diff \ |
---|
30 | patch-vis-lua.c.diff |
---|
31 | |
---|
32 | post-patch { |
---|
33 | reinplace -W ${worksrcpath} "s|@VISEXEC@|vis-editor|g" Makefile |
---|
34 | reinplace -W ${worksrcpath}/man "s|@VISEXEC@|vis-editor|g" vis-clipboard.1 \ |
---|
35 | vis-complete.1 vis-digraph.1 vis-menu.1 vis-open.1 vis.1 |
---|
36 | |
---|
37 | reinplace -W ${worksrcpath} "s|@VISDIR@|vis|g" Makefile |
---|
38 | |
---|
39 | reinplace -W ${worksrcpath}/man "s|@VISMAN@|VIS-EDITOR|g" vis.1 |
---|
40 | |
---|
41 | reinplace -W ${worksrcpath} "s|@PREFIX@|${prefix}|g" man/vis.1 vis-lua.c |
---|
42 | |
---|
43 | file rename ${worksrcpath}/man/vis.1 ${worksrcpath}/man/vis-editor.1 |
---|
44 | } |
---|