mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
Since El Capitan, the path is `/Library/TeX/texbin` and it gets added automatically to `/etc/paths.d` and `/etc/manpaths.d`. Also remove TeX from path and Settings on uninstall.
19 lines
589 B
Ruby
19 lines
589 B
Ruby
cask :v1 => 'basictex' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
# ctan.org is the official download host per the vendor homepage
|
|
url 'http://mirror.ctan.org/systems/mac/mactex/BasicTeX.pkg'
|
|
name 'BasicTeX'
|
|
homepage 'https://www.tug.org/mactex/morepackages.html'
|
|
license :oss
|
|
|
|
pkg 'BasicTeX.pkg'
|
|
|
|
uninstall :pkgutil => 'org.tug.mactex.basictex2015',
|
|
:delete => [
|
|
'/Library/PreferencePanes/TeXDistPrefPane.prefPane',
|
|
'/etc/paths.d/TeX',
|
|
'/etc/manpaths.d/TeX'
|
|
]
|
|
end
|