aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoshua B. Griffith2011-09-24 17:50:05 -0500
committerCharlie Sharpsteen2011-09-24 22:56:23 -0700
commit99bc0b7921a834e1db9d18493ff8d91568698bb9 (patch)
tree934c6954c4fb0f8631476f813f76999c771c5000 /Library
parentd172eb9e8cc41f6556c0d5127c373d8563b09fd2 (diff)
downloadhomebrew-99bc0b7921a834e1db9d18493ff8d91568698bb9.tar.bz2
New Formuls: Shen
Shen is the cross-platform successor to the Qi II language. See: http://www.lambdassociates.org/specification/shen_1.7.htm#Shen_and_Qi Closes #7807. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/shen.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/shen.rb b/Library/Formula/shen.rb
new file mode 100644
index 000000000..538575eaa
--- /dev/null
+++ b/Library/Formula/shen.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Shen < Formula
+ url 'http://www.lambdassociates.org/Download/Shen1.7sources.zip'
+ homepage 'http://www.lambdassociates.org/'
+ md5 'e46ba5ab02c6e1de4ba2f5d9340e355a'
+ version '1.7'
+
+ depends_on 'clisp'
+
+ def install
+ system "cp K\\ Lambda/* Platforms/CLisp"
+ safe_system "cd Platforms/CLisp; clisp -i install.lsp"
+ system "echo \"#!/bin/bash\nclisp -M #{prefix}/Shen.mem $*\" > shen"
+ prefix.install ['Platforms/CLisp/Shen.mem']
+ system "chmod 755 shen"
+ bin.install ['shen']
+ end
+end