2015-12-18 09:15:28 +08:00
|
|
|
cask 'dendroscope' do
|
2015-07-30 05:31:45 +08:00
|
|
|
version '3.3.2'
|
|
|
|
sha256 '21eccfc97aba6400ecb9d81f1bc02a1f8fc9c4cd07e6c09b5f310d414b00c7e2'
|
|
|
|
|
2016-02-12 07:52:11 +08:00
|
|
|
# ab.inf.uni-tuebingen.de/data/software/dendroscope3 was verified as official when first introduced to the cask
|
2016-01-04 03:18:07 +08:00
|
|
|
url "http://ab.inf.uni-tuebingen.de/data/software/dendroscope3/download/Dendroscope_macos_#{version.gsub('.', '_')}.dmg"
|
2015-07-30 05:31:45 +08:00
|
|
|
name 'Dendroscope'
|
|
|
|
homepage 'http://dendroscope.org/'
|
|
|
|
license :gpl
|
|
|
|
|
2016-01-04 17:06:21 +08:00
|
|
|
app 'Dendroscope.app'
|
|
|
|
|
2015-08-07 21:05:13 +08:00
|
|
|
preflight do
|
2016-01-04 03:18:07 +08:00
|
|
|
system "#{staged_path}/Dendroscope Installer.app/Contents/MacOS/JavaApplicationStub", '-q', '-dir', staged_path.to_s
|
2015-08-07 21:05:13 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
uninstall_preflight do
|
|
|
|
system "#{staged_path}/Dendroscope Uninstaller.app/Contents/MacOS/JavaApplicationStub", '-q'
|
|
|
|
end
|
2015-08-07 21:51:30 +08:00
|
|
|
|
2016-01-13 00:59:57 +08:00
|
|
|
caveats do
|
|
|
|
depends_on_java
|
|
|
|
end
|
2015-07-30 05:31:45 +08:00
|
|
|
end
|