aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-08-30 12:42:57 -0700
committerMisty De Meo2014-08-30 12:43:23 -0700
commit43a49a26eb124a58681b90b7e211686dbbc3e02d (patch)
tree7bec934cea719ecab3e17faf892dd9a3af4ce43e /Library
parenteaec56d73a634195b81363b2865ae1e6dc3e81c9 (diff)
downloadhomebrew-43a49a26eb124a58681b90b7e211686dbbc3e02d.tar.bz2
fits 0.8.2
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fits.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/fits.rb b/Library/Formula/fits.rb
index 5de1edf32..70f25c7ea 100644
--- a/Library/Formula/fits.rb
+++ b/Library/Formula/fits.rb
@@ -2,10 +2,16 @@ require 'formula'
class Fits < Formula
homepage 'http://fitstool.org/'
- url 'http://projects.iq.harvard.edu/files/fits/files/fits-0.8.0.zip'
- sha1 'cad95a3d457808bd18fbce798c7665e5b3ff7888'
+ url 'http://projects.iq.harvard.edu/files/fits/files/fits-0.8.2.zip'
+ sha1 'ea4a6020f9d64a4c9b85f37b488aa254c10e2703'
+
+ # provided jars may not be compatible with installed java,
+ # but works when built from source
+ depends_on "ant" => :build
def install
+ system "ant"
+
inreplace 'fits-env.sh' do |s|
s.gsub! "FITS_HOME=`echo \"$0\" | sed 's,/[^/]*$,,'`", "FITS_HOME=#{prefix}"
s.gsub! "${FITS_HOME}/lib", libexec