aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cortex.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/cortex.rb b/Library/Formula/cortex.rb
new file mode 100644
index 000000000..7fa1695bb
--- /dev/null
+++ b/Library/Formula/cortex.rb
@@ -0,0 +1,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"):