Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

newlisp 10.4.4 #15394

Closed
wants to merge 1 commit into from

2 participants

@asparagui
Owner

1) upstream apparently deletes the old tgz (!!) when they push a new release, so the current formula isn't working

2) inreplace f do |s|
s.gsub! '#!/usr/bin/newlisp', '#!/usr/bin/env newlisp'
s.gsub! '/usr/bin/newlisp', "#{bin}/newlisp"
end

doesn't like the current files, and is spitting out a bunch of scary-looking (but apparently meaningless) warnings

@adamv
Owner

If the inreplaces aren't finding anything, they can be removed.

@asparagui
Owner

roger, i deleted the inreplaces and added a caveats warning, please let me know if you need anything else

@adamv adamv closed this pull request from a commit
@asparagui asparagui newlisp 10.4.4
Closes #15394.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
6d6143a
@adamv adamv closed this in 6d6143a
@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@sessyargc sessyargc referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@asparagui asparagui newlisp 10.4.4
Closes #15394.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
894c8d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 11, 2012
  1. @asparagui

    newlisp 10.4.4

    asparagui authored
This page is out of date. Refresh to see the latest.
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"
Something went wrong with that request. Please try again.