grc: cleanup python usage.

master
Mike McQuaid 2014-01-04 13:07:02 +00:00
parent 587290d947
commit c952607642
1 changed files with 0 additions and 3 deletions

View File

@ -5,14 +5,11 @@ class Grc < Formula
url 'http://korpus.juls.savba.sk/~garabik/software/grc/grc_1.5.tar.gz'
sha1 'bcbe45992d2c4cb1d33e76aac6aa79b448124ce2'
depends_on :python
conflicts_with 'cc65', :because => 'both install `grc` binaries'
def install
inreplace ['grc', 'grc.1'], '/etc', etc
inreplace ['grcat', 'grcat.1'], '/usr/local', prefix
inreplace ['grc', 'grcat'], '#! /usr/bin/python', '#!/usr/bin/env python'
etc.install 'grc.conf'
bin.install %w[grc grcat]