From f3a797c1ac650caaa9db63b376030c6f1afb8b1a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 18 May 2014 16:23:07 -0700 Subject: saxon: modernize --- Library/Formula/saxon.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Formula/saxon.rb b/Library/Formula/saxon.rb index 2fe084338..b40e94f41 100644 --- a/Library/Formula/saxon.rb +++ b/Library/Formula/saxon.rb @@ -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 -- cgit v1.2.3