homebrew-cask/Casks/u/udig.rb

26 lines
669 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cask "udig" do
version "2.0.0"
sha256 "b01e08bc9067a5d584c223293ba2d536a14487327fc73866836f67089545a99a"
url "http://udig.refractions.net/files/downloads/udig-#{version}.macosx.cocoa.x86_64.dmg"
name "uDig"
homepage "http://udig.refractions.net/"
livecheck do
url "http://udig.refractions.net/download/"
regex(%r{href=.*?/udig-(\d+(?:\.\d+)*)\.macosx\.cocoa\.x86_64\.dmg}i)
end
suite "udig"
caveats do
depends_on_java "8"
<<~EOS
#{token} will fail to launch unless java 1.8 is installed as the systems default. Point #{token} to java 1.8 by editing:
#{appdir}/udig/udig.app/Contents/Info.plist
EOS
end
end