2015-12-18 09:15:28 +08:00
|
|
|
cask 'mactex' do
|
2016-06-07 22:22:14 +08:00
|
|
|
version '20160603'
|
|
|
|
sha256 '34e5c48846a674e0025e92bf1ab7bb43a1108f729b4c26c61edcda24fa5383e3'
|
2014-06-27 08:01:26 +08:00
|
|
|
|
2016-06-07 22:22:14 +08:00
|
|
|
# mirror.ctan.org/systems/mac/mactex was verified as official when first introduced to the cask
|
|
|
|
url "http://mirror.ctan.org/systems/mac/mactex/mactex-#{version}.pkg"
|
|
|
|
appcast 'http://www.tug.org/mactex/downloading.html',
|
|
|
|
checkpoint: '14b52a4b06fa7259d2665c2a26f41dde0ee15fb61cb9b69c707ad916e9dd8073'
|
2015-01-06 10:37:18 +08:00
|
|
|
name 'MacTeX'
|
2015-06-29 14:32:18 +08:00
|
|
|
homepage 'https://www.tug.org/mactex/'
|
2015-07-24 23:27:51 +08:00
|
|
|
license :oss
|
2014-06-27 08:01:26 +08:00
|
|
|
|
2016-06-07 22:22:14 +08:00
|
|
|
pkg "mactex-#{version}.pkg"
|
2014-11-22 22:12:42 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: [
|
2016-06-07 22:22:14 +08:00
|
|
|
'org.tug.mactex.ghostscript9.19',
|
|
|
|
'org.tug.mactex.gui2016',
|
|
|
|
'org.tug.mactex.texlive2016',
|
2016-01-18 09:27:20 +08:00
|
|
|
],
|
|
|
|
delete: [
|
2016-06-07 22:22:14 +08:00
|
|
|
'/usr/local/texlive/2016',
|
2016-01-18 09:27:20 +08:00
|
|
|
'/Applications/TeX',
|
|
|
|
'/Library/PreferencePanes/TeXDistPrefPane.prefPane',
|
|
|
|
'/etc/paths.d/TeX',
|
|
|
|
'/etc/manpaths.d/TeX',
|
|
|
|
]
|
2016-06-07 22:22:14 +08:00
|
|
|
|
|
|
|
zap delete: [
|
|
|
|
'/usr/local/texlive/texmf-local',
|
|
|
|
'~/Library/texlive/2016',
|
|
|
|
'~/Library/Application Support/TeXShop',
|
|
|
|
'~/Library/Application Support/TeX Live Utility',
|
|
|
|
'~/Library/TeXShop',
|
|
|
|
],
|
|
|
|
rmdir: [
|
|
|
|
'/usr/local/texlive',
|
|
|
|
'~/Library/texlive',
|
|
|
|
]
|
2013-10-17 19:43:58 +08:00
|
|
|
end
|