From 99bc0b7921a834e1db9d18493ff8d91568698bb9 Mon Sep 17 00:00:00 2001 From: Joshua B. Griffith Date: Sat, 24 Sep 2011 17:50:05 -0500 Subject: 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 --- Library/Formula/shen.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/shen.rb (limited to 'Library') 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 -- cgit v1.2.3