2015-12-18 09:15:28 +08:00
|
|
|
cask 'dendroscope' do
|
2016-07-15 20:35:22 +08:00
|
|
|
version '3.5.7'
|
|
|
|
sha256 '9da20a38eff7588c19cb7521fc10fea0a1d3bfe038e1c11774018659ac0d7eca'
|
2015-07-30 05:31:45 +08:00
|
|
|
|
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-07-15 20:35:22 +08:00
|
|
|
url "http://ab.inf.uni-tuebingen.de/data/software/dendroscope3/download/Dendroscope_macos_#{version.dots_to_underscores}.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
|