[37900] trunk/dports/textproc
simon at macports.org
simon at macports.org
Sat Jun 28 03:25:15 PDT 2008
Revision: 37900
http://trac.macosforge.org/projects/macports/changeset/37900
Author: simon at macports.org
Date: 2008-06-28 03:25:15 -0700 (Sat, 28 Jun 2008)
Log Message:
-----------
textproc/grc: New port, closes #15562. Thanks to aecollins1 at gmail.com.
Added Paths:
-----------
trunk/dports/textproc/grc/
trunk/dports/textproc/grc/Portfile
Added: trunk/dports/textproc/grc/Portfile
===================================================================
--- trunk/dports/textproc/grc/Portfile (rev 0)
+++ trunk/dports/textproc/grc/Portfile 2008-06-28 10:25:15 UTC (rev 37900)
@@ -0,0 +1,50 @@
+# $Id$
+
+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
+}
Property changes on: trunk/dports/textproc/grc/Portfile
___________________________________________________________________
Name: svn:keyword
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080628/31e66fd7/attachment-0001.html
More information about the macports-changes
mailing list