3 | | PortSystem 1.0 |
4 | | PortGroup github 1.0 |
5 | | |
6 | | github.setup garabik grc 1.10 v |
7 | | categories textproc |
8 | | platforms darwin |
9 | | license GPL-2 |
10 | | maintainers nomaintainer |
11 | | supported_archs noarch |
12 | | |
13 | | description Generic Colouriser for colourising logfiles and output of commands. |
14 | | |
15 | | long_description Generic Colouriser provides colourised output of logfiles \ |
16 | | and commands. It provides the grc and grcat Python scripts \ |
17 | | for filtering text output and colourising it. |
18 | | |
19 | | homepage http://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
20 | | |
21 | | checksums rmd160 8d5395923fa9d406a951580a9d0739da5fdd9bee \ |
22 | | sha256 50a43e884832cda5ef3e2aa4da91d68555a1fb98fd1ac69b16435e04db3993bf |
23 | | |
24 | | depends_lib port:python27 |
25 | | |
26 | | use_configure no |
27 | | build {} |
28 | | |
29 | | post-destroot { |
30 | | reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.7|" \ |
31 | | ${worksrcpath}/grc ${worksrcpath}/grcat |
32 | | reinplace "s|/etc|${prefix}/etc|g" \ |
33 | | ${worksrcpath}/grc ${worksrcpath}/grc.1 |
34 | | reinplace "s|/usr/local|${prefix}|g" \ |
35 | | ${worksrcpath}/grcat ${worksrcpath}/grcat.1 |
36 | | xinstall -m 755 -W ${worksrcpath} \ |
37 | | grc grcat ${destroot}${prefix}/bin |
38 | | xinstall -m 755 -d ${destroot}${prefix}/share/${name} |
39 | | xinstall -m 644 {*}[glob ${worksrcpath}/conf.*] \ |
40 | | ${destroot}${prefix}/share/${name} |
41 | | xinstall -m 644 -W ${worksrcpath} \ |
42 | | grc.conf ${destroot}${prefix}/etc |
43 | | xinstall -m 644 -W ${worksrcpath} \ |
44 | | grc.1 grcat.1 ${destroot}${prefix}/share/man/man1 |
| 4 | github.setup garabik grc 1.9 v |
| 5 | categories textproc |
| 6 | platforms darwin |
| 7 | license GPL-2 |
| 8 | maintainers nomaintainer |
| 9 | supported_archs noarch |
| 10 | |
| 11 | description Generic Colouriser for colourising logfiles and output of commands. |
| 12 | |
| 13 | long_description \ |
| 14 | Generic Colouriser provides colourised output of logfiles \ |
| 15 | and commands. It provides the grc and grcat Python scripts \ |
| 16 | for filtering text output and colourising it. |
| 17 | |
| 18 | homepage http://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
| 19 | |
| 20 | checksums rmd160 a39cf994af68ae92e7d12a28f418283dad89d16c \ |
| 21 | sha256 2b86ee4c36d866d321e2ed0d670c59af1c596a4908ee5b814bbda79bdb32208d |
| 22 | |
| 23 | depends_lib port:python27 |
| 24 | |
| 25 | use_configure no |
| 26 | build {} |
| 27 | |
| 28 | post-destroot { |
| 29 | reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.7|" \ |
| 30 | ${worksrcpath}/grc ${worksrcpath}/grcat |
| 31 | reinplace "s|/etc|${prefix}/etc|g" \ |
| 32 | ${worksrcpath}/grc ${worksrcpath}/grc.1 |
| 33 | reinplace "s|/usr/local|${prefix}|g" \ |
| 34 | ${worksrcpath}/grcat ${worksrcpath}/grcat.1 |
| 35 | xinstall -m 755 -W ${worksrcpath} \ |
| 36 | grc grcat ${destroot}${prefix}/bin |
| 37 | xinstall -m 755 -d ${destroot}${prefix}/share/${name} |
| 38 | xinstall -m 644 {*}[glob ${worksrcpath}/conf.*] \ |
| 39 | ${destroot}${prefix}/share/${name} |
| 40 | xinstall -m 644 -W ${worksrcpath} \ |
| 41 | grc.conf ${destroot}${prefix}/etc |
| 42 | xinstall -m 644 -W ${worksrcpath} \ |
| 43 | grc.1 grcat.1 ${destroot}${prefix}/share/man/man1 |