homebrew-core/Formula/saxon.rb
Marcel Koeppen 8cec041b15 Update Saxon to 9.3.0.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-23 09:13:15 -07:00

20 lines
452 B
Ruby

require 'formula'
class Saxon < Formula
homepage "http://saxon.sourceforge.net"
url "http://downloads.sourceforge.net/project/saxon/Saxon-HE/9.3/saxonhe9-3-0-4j.zip"
md5 "9286c94c976109cbf23c226235a2e105"
version "9.3.0.4"
def shim_script target
<<-EOS.undent
#!/bin/bash
java -jar #{libexec}/saxon9he.jar "$@"
EOS
end
def install
libexec.install Dir["*"]
(bin+'saxon').write shim_script('saxon')
end
end