# $Id: Portfile 37929 2008-06-29 22:28:34Z ryandesign@macports.org $ PortSystem 1.0 name grc version 1.1 categories textproc platforms darwin maintainers gmail.com:aecollins1 description Generic Colouriser for colourising logfiles and output of commands. long_description \ Generic Colouriser provides colourised output of logfiles \ and commands. It provides the grc and grcat Python scripts \ for filtering text output and colourising it. homepage http://kassiopeia.juls.savba.sk/~garabik/software/grc.html master_sites http://kassiopeia.juls.savba.sk/~garabik/software/grc distname ${name}_${version} worksrcdir ${name}-${version} checksums md5 eeb612aba2fff14cbaf1f3bec7e1eb60 \ sha1 0665f12ca873e51b6ef6c6890836620b9c68de5b \ rmd160 ffe77e6fcbffa24ee617badb891173c1dcf0a4a0 depends_lib port:python25 use_configure no build {} post-destroot { reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.5|" \ ${worksrcpath}/grc ${worksrcpath}/grcat reinplace "s|/etc|${prefix}/etc|g" \ ${worksrcpath}/grc ${worksrcpath}/grc.1 reinplace "s|/usr/local|${prefix}|g" \ ${worksrcpath}/grcat ${worksrcpath}/grcat.1 xinstall -m 755 -W ${worksrcpath} \ grc grcat ${destroot}${prefix}/bin xinstall -m 755 -d ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} \ conf.cvs conf.gcc conf.log conf.proftpd \ conf.diff conf.irclog conf.netstat conf.traceroute \ conf.esperanto conf.ldap conf.ping conf.wdiff ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} \ grc.conf ${destroot}${prefix}/etc xinstall -m 644 -W ${worksrcpath} \ grc.1 grcat.1 ${destroot}${prefix}/share/man/man1 }