diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/shen.rb | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Library/Formula/shen.rb b/Library/Formula/shen.rb deleted file mode 100644 index ffe8fbfc8..000000000 --- a/Library/Formula/shen.rb +++ /dev/null @@ -1,32 +0,0 @@ -require 'formula' - -class Shen < Formula - homepage 'http://www.shenlanguage.org/' - url 'http://www.shenlanguage.org/download/Shen3.1.zip' - md5 'ecc1ed39c499417b9408157982559319' - - if ARGV.include? "--sbcl" - depends_on 'sbcl' - else - depends_on 'clisp' - end - - def options - [["--sbcl", "Build SBCL version."]] - end - - def install - if ARGV.include?("--sbcl") then - system "cp K\\ Lambda/* Platforms/SBCL" - safe_system "cd Platforms/SBCL; sbcl --load install.lsp" - system "mv Platforms/SBCL/Shen.exe shen" - else - 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'] - end - system "chmod 755 shen" - bin.install 'shen' - end -end |
