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 python 1.0 |
---|
5 | |
---|
6 | name tldr-python-client |
---|
7 | version 0.3 |
---|
8 | distname tldr-${version} |
---|
9 | |
---|
10 | python.versions 27 33 34 35 |
---|
11 | |
---|
12 | conflicts tldr-cpp-client |
---|
13 | |
---|
14 | categories sysutils |
---|
15 | platforms darwin |
---|
16 | supported_archs noarch |
---|
17 | license MIT |
---|
18 | maintainers nomaintainer |
---|
19 | |
---|
20 | description tldr python client - simplified and community-driven man pages |
---|
21 | long_description The TLDR pages are a community effort to simplify \ |
---|
22 | the beloved man pages with practical examples. |
---|
23 | |
---|
24 | homepage http://tldr-pages.github.io |
---|
25 | master_sites pypi:t/tldr/ |
---|
26 | |
---|
27 | checksums rmd160 92dc9f4f453673438bc6711e7653987b99680adc \ |
---|
28 | sha256 f3a9e74d99965ed92b581ec5489be1c5bc95e5a01e6d49a0843fec06e0d39e99 |
---|
29 | |
---|
30 | depends_build-append \ |
---|
31 | port:py${python.version}-setuptools_scm \ |
---|
32 | |
---|
33 | depends_lib-append port:py${python.version}-six \ |
---|
34 | port:py${python.version}-termcolor \ |
---|
35 | port:py${python.version}-colorama |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | set docdir ${prefix}/share/doc/${subport} |
---|
39 | xinstall -d ${destroot}${docdir}/samples |
---|
40 | xinstall -m 644 -W ${worksrcpath} \ |
---|
41 | LICENSE \ |
---|
42 | README.md \ |
---|
43 | ${destroot}${docdir} |
---|
44 | } |
---|
45 | |
---|
46 | livecheck.name tldr |
---|
47 | livecheck.type pypi |
---|
48 | |
---|
49 | notes " |
---|
50 | There's a complete script for the c++ client that you can source from the shell's rc at |
---|
51 | https://github.com/tldr-pages/tldr-cpp-client/tree/master/autocomplete |
---|
52 | " |
---|