Grc version 1.3 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.3

      View the most recent changes for the grc port at: grc.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for grc.
      The raw portfile for grc 1.3 is located here:
      http://grc.darwinports.com/dports/textproc/grc/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/grc


      The grc Portfile 54216 2009-07-23 04:28:22Z aecollins1 macports.org $

      PortSystem 1.0

      Name: grc
      Version: 1.3
      Category: textproc
      Platform: darwin
      Maintainers: 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 a4814dcee965c3ff67681f6b59e6378c sha1 78048f49dc9067575937cecf1af7da907f824efa rmd160 2c0ddcfa5da80025436b11424304968a0648dbe6

      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
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/grc
      % sudo port install grc
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching grc
      ---> Verifying checksum for grc
      ---> Extracting grc
      ---> Configuring grc
      ---> Building grc with target all
      ---> Staging grc into destroot
      ---> Installing grc
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using grc with these commands:
      %  man grc
      % apropos grc
      % which grc
      % locate grc

     Where to find more information:

    Darwin Ports



    Lightbox this page.