mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
Make caveats a first-class member of the Cask DSL. It no longer has to be specified with "def caveats", but can be given as "caveats do ... end" as with after_install blocks. In addition, create a mini-DSL which can be used within caveats blocks, providing standard messages when manual installers must be used, reboot-required, etc. Add alternate form: caveats can also accept a compile-time string for simple cases. This is 99% compatible with old Casks, as it still works by defining a caveats method. However, all Casks containing caveats are cleaned up and adapted according to the new DSL. Full docs in CONTRIBUTING.md.
11 lines
329 B
Ruby
11 lines
329 B
Ruby
class Basictex < Cask
|
|
url 'http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg'
|
|
homepage 'http://www.tug.org/mactex/morepackages.html'
|
|
version 'latest'
|
|
no_checksum
|
|
install 'mactex-basic.pkg'
|
|
uninstall :pkgutil => 'org.tug.mactex.basictex2013'
|
|
caveats do
|
|
path_environment_variable '/usr/texbin'
|
|
end
|
|
end
|