saxon: modernize

This commit is contained in:
Adam Vandenberg 2014-05-18 16:23:07 -07:00
parent 6704461bde
commit e07dc70bc6

View file

@ -1,13 +1,13 @@
require 'formula'
require "formula"
class Saxon < Formula
homepage "http://saxon.sourceforge.net"
url 'https://downloads.sourceforge.net/project/saxon/Saxon-HE/9.5/SaxonHE9-5-1-5J.zip'
sha1 'bb8476866cacb72e5567bdfc246570e7f0986e48'
version '9.5.1.5'
url "https://downloads.sourceforge.net/project/saxon/Saxon-HE/9.5/SaxonHE9-5-1-5J.zip"
sha1 "bb8476866cacb72e5567bdfc246570e7f0986e48"
version "9.5.1.5"
def install
libexec.install Dir["*"]
bin.write_jar_script libexec/'saxon9he.jar', 'saxon'
libexec.install Dir["*.jar"] + ["doc", "notices"]
bin.write_jar_script libexec/"saxon9he.jar", "saxon"
end
end