aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 14:37:41 -0800
committerAdam Vandenberg2012-02-12 20:08:59 -0800
commit5f7f4562db8f3c7ae98ae9930e7de20cd3fc638d (patch)
tree5bf42ab370fdc0ee7f1fa555a5269e0089a19ead /Library/Formula/jython.rb
parent24545225aceb2fb5e39ee2939d514df101b4bc68 (diff)
downloadhomebrew-5f7f4562db8f3c7ae98ae9930e7de20cd3fc638d.tar.bz2
jython: use install_symlink
Diffstat (limited to 'Library/Formula/jython.rb')
-rw-r--r--Library/Formula/jython.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb
index a01309bb3..b08713708 100644
--- a/Library/Formula/jython.rb
+++ b/Library/Formula/jython.rb
@@ -1,14 +1,13 @@
require 'formula'
class Jython < Formula
+ homepage 'http://www.jython.org'
url "http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar",
:using => :nounzip
- homepage 'http://www.jython.org'
sha1 'd4534a691edf40aa1d51723dfe3e22db1e39b432'
def install
- system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec
- bin.mkpath
- ln_s libexec+'bin/jython', bin
+ system "java", "-jar", "jython_installer-2.5.2.jar", "-s", "-d", libexec
+ bin.install_symlink libexec+'bin/jython'
end
end