1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name grc |
---|
4 | version 1.1 |
---|
5 | categories textproc |
---|
6 | maintainers aecollins1@gmail.com |
---|
7 | description Generic Colouriser for colourising logfiles and output of commands. |
---|
8 | |
---|
9 | long_description \ |
---|
10 | Generic Colouriser provides colourised output of logfiles \ |
---|
11 | and commands. It provides the grc and grcat Python scripts \ |
---|
12 | for filtering text output and colourising it. |
---|
13 | |
---|
14 | homepage http://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
---|
15 | master_sites http://kassiopeia.juls.savba.sk/~garabik/software/grc |
---|
16 | |
---|
17 | distname ${name}_${version} |
---|
18 | worksrcdir ${name}-${version} |
---|
19 | |
---|
20 | checksums md5 eeb612aba2fff14cbaf1f3bec7e1eb60 \ |
---|
21 | sha1 0665f12ca873e51b6ef6c6890836620b9c68de5b \ |
---|
22 | rmd160 ffe77e6fcbffa24ee617badb891173c1dcf0a4a0 |
---|
23 | |
---|
24 | use_configure no |
---|
25 | build {} |
---|
26 | |
---|
27 | post-destroot { |
---|
28 | |
---|
29 | reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/grc |
---|
30 | reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/grcat |
---|
31 | xinstall -m 755 -W ${worksrcpath} \ |
---|
32 | grc grcat ${destroot}${prefix}/bin |
---|
33 | xinstall -m 755 -d ${destroot}${prefix}/share/${name} |
---|
34 | xinstall -m 644 -W ${worksrcpath} \ |
---|
35 | conf.cvs conf.gcc conf.log conf.proftpd \ |
---|
36 | conf.diff conf.irclog conf.netstat conf.traceroute \ |
---|
37 | conf.esperanto conf.ldap conf.ping conf.wdiff ${destroot}${prefix}/share/${name} |
---|
38 | xinstall -m 644 -W ${worksrcpath} \ |
---|
39 | grc.conf ${destroot}${prefix}/etc |
---|
40 | xinstall -m 644 -W ${worksrcpath} \ |
---|
41 | grc.1 grcat.1 ${destroot}${prefix}/share/man/man1 |
---|
42 | |
---|
43 | } |
---|