aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-18 16:23:07 -0700
committerAdam Vandenberg2014-05-18 16:23:07 -0700
commitf3a797c1ac650caaa9db63b376030c6f1afb8b1a (patch)
tree68294dbea8826d624e0d2d8301de81de87603900 /Library
parent0c6620ccc580d227ad5867427dc03118579c7758 (diff)
downloadhomebrew-f3a797c1ac650caaa9db63b376030c6f1afb8b1a.tar.bz2
saxon: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/saxon.rb12
1 files changed, 6 insertions, 6 deletions
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