aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2012-10-10 13:25:26 -0500
committerAdam Vandenberg2012-10-24 07:12:49 -0700
commit6d6143a72f96a087fd32d8aa58cf6cfe919b03a4 (patch)
tree4a1635f4877ecac0c827ce149f100a016b07ec92 /Library/Formula
parenta85b390876dc519e124d0b23beec891132dd3096 (diff)
downloadhomebrew-6d6143a72f96a087fd32d8aa58cf6cfe919b03a4.tar.bz2
newlisp 10.4.4
Closes #15394. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/newlisp.rb19
1 files changed, 8 insertions, 11 deletions
diff --git a/Library/Formula/newlisp.rb b/Library/Formula/newlisp.rb
index 3f6c645c3..dec7ad975 100644
--- a/Library/Formula/newlisp.rb
+++ b/Library/Formula/newlisp.rb
@@ -2,8 +2,8 @@ require 'formula'
class Newlisp < Formula
homepage 'http://www.newlisp.org/'
- url 'http://www.newlisp.org/downloads/newlisp-10.4.3.tgz'
- sha1 'cf5f5514a2a18dd317aa5e6f38907f0a8879156f'
+ url 'http://www.newlisp.org/downloads/newlisp-10.4.4.tgz'
+ sha1 'eb1121aa49e5ef208855bd1ffdc3204eab974169'
depends_on 'readline'
@@ -13,19 +13,16 @@ class Newlisp < Formula
system "./configure-alt", "--prefix=#{prefix}", "--mandir=#{man}"
system "make"
-
- # Many .lsp files assume the interpreter will be installed in /usr/bin
- Dir["**/*.lsp"].each do |f|
- inreplace f do |s|
- s.gsub! '#!/usr/bin/newlisp', '#!/usr/bin/env newlisp'
- s.gsub! '/usr/bin/newlisp', "#{bin}/newlisp"
- end
- end
-
system "make check"
system "make install"
end
+ def caveats; <<-EOS.undent
+ If you have brew in a custom prefix, the included examples
+ will need to be be pointed to your newlisp executable.
+ EOS
+ end
+
# Use the IDE to test a complete installation
def test
system "#{bin}/newlisp-edit"