Permalink
Browse files

newlisp 10.4.4

  • Loading branch information...
1 parent ea149cc commit 8875d0bbbab4101cd6fe06b62ad2a225e27302c1 @asparagui committed Oct 10, 2012
Showing with 8 additions and 11 deletions.
  1. +8 −11 Library/Formula/newlisp.rb
View
19 Library/Formula/newlisp.rb
@@ -2,8 +2,8 @@
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 @@ def install
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"

0 comments on commit 8875d0b

Please sign in to comment.