aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cortex.rb
blob: 7fa1695bb66e2e4becff9e699615badfb72c7322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'

class Cortex <Formula
  head 'git://glacicle.org/projects/cortex.git'
  homepage 'http://cortex.glacicle.org'

  def patches
    DATA
  end

  def install
    bin.install "cortex"
  end
end
__END__
diff --git a/cortex b/cortex
index 8a41aad..6ee0f92 100755
--- a/cortex
+++ b/cortex
@@ -892,6 +892,7 @@ locale.setlocale(locale.LC_ALL,"")
 
 # {{{ Main function
 def main():
+    os.environ['TERM'] = 'xterm'
     if len(sys.argv) > 1 and sys.argv[1] in ("-v", "--version"):
         print(VERSIONTEXT)
     elif len(sys.argv) > 1 and sys.argv[1] in ("--help", "-h"):