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 | PortGroup github 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | github.setup axiros terminal_markdown_viewer 1.6.3 |
---|
8 | |
---|
9 | python.default_version \ |
---|
10 | 27 |
---|
11 | |
---|
12 | categories textproc |
---|
13 | platforms darwin |
---|
14 | license BSD-3-Clause |
---|
15 | maintainers nomaintainer |
---|
16 | |
---|
17 | description Styled Terminal Markdown Viewer |
---|
18 | long_description Features: \ |
---|
19 | - Tons of theme combinations: mdv ships with > 200 luminocity sorted themes, \ |
---|
20 | converted from html themes tables to ansi \ |
---|
21 | Those can be combined for code vs regular markdown output \ |
---|
22 | - Admonitions \ |
---|
23 | - Tables, incl. wide table handling avoiding "interleaving" \ |
---|
24 | - Somewhat hackable, all in one (mdv/markdownviewer.py) module \ |
---|
25 | - Useable as lib as well \ |
---|
26 | - File change monitor \ |
---|
27 | - Text wrapping \ |
---|
28 | - Source code highlighter \ |
---|
29 | - Little directory change monitor |
---|
30 | |
---|
31 | checksums rmd160 332776b14685c4e0603c8ddb736e4e2fe7bda391 \ |
---|
32 | sha256 2f3fc6b7acecd5c234987a8f5e2995cdc8f1560138d6aa9c5133546125b27cae |
---|
33 | |
---|
34 | depends_build-append \ |
---|
35 | port:py${python.version}-setuptools |
---|
36 | depends_lib-append port:py${python.version}-docopt \ |
---|
37 | port:py${python.version}-markdown \ |
---|
38 | port:py${python.version}-pygments \ |
---|
39 | port:py${python.version}-yaml |
---|
40 | |
---|
41 | post-destroot { |
---|
42 | set docdir ${prefix}/share/doc/${subport} |
---|
43 | xinstall -d ${destroot}${docdir}/samples |
---|
44 | xinstall -m 644 -W ${worksrcpath} \ |
---|
45 | LICENSE \ |
---|
46 | README.md \ |
---|
47 | ${destroot}${docdir} |
---|
48 | xinstall -m 644 {*}[glob ${worksrcpath}/samples/*] \ |
---|
49 | ${destroot}${docdir}/samples |
---|
50 | } |
---|