1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile: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 nojhan colout 0.5 v |
---|
8 | |
---|
9 | categories textproc |
---|
10 | platforms darwin |
---|
11 | license GPL-3 |
---|
12 | maintainers g5pw openmaintainer |
---|
13 | |
---|
14 | description Color Up Arbitrary Command Ouput |
---|
15 | long_description ${name} read lines of text stream on the standard input and \ |
---|
16 | output characters matching a given regular expression \ |
---|
17 | PATTERN in given COLOR and STYLE. |
---|
18 | |
---|
19 | homepage http://nojhan.github.io/colout/ |
---|
20 | |
---|
21 | checksums rmd160 91a5eea8af8ad88debb56d67026333784e65ed47 \ |
---|
22 | sha256 2e35f18f4240b080d0579c3410726f79121ae373107fb72315e17cff02060ece |
---|
23 | |
---|
24 | python.default_version \ |
---|
25 | 36 |
---|
26 | |
---|
27 | patch { |
---|
28 | reinplace -W ${worksrcpath} s|python3|${python.bin}| \ |
---|
29 | bin/colout \ |
---|
30 | colout/colout.py \ |
---|
31 | setup.py |
---|
32 | } |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | set docdir ${prefix}/share/doc/${subport} |
---|
36 | xinstall -d ${destroot}${docdir} |
---|
37 | xinstall -m 644 -W ${worksrcpath} \ |
---|
38 | LICENSE \ |
---|
39 | README.md \ |
---|
40 | ${destroot}${docdir} |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.type none |
---|