diff options
| author | Adam Vandenberg | 2013-02-11 21:11:22 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-11 21:11:22 -0800 |
| commit | 36b9a0809147b91911d5b2a61537d31a46a2bc18 (patch) | |
| tree | ace58a301cab677170293c5ed2d6f4371f5a5d4b /Library | |
| parent | 92850b300c76c6ec560b923f7cd0d084ba734b8a (diff) | |
| download | homebrew-36b9a0809147b91911d5b2a61537d31a46a2bc18.tar.bz2 | |
asymptote: reformat caveats
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/asymptote.rb | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb index 8ed908fd9..9cdf147f7 100644 --- a/Library/Formula/asymptote.rb +++ b/Library/Formula/asymptote.rb @@ -6,12 +6,11 @@ class Asymptote < Formula sha1 'e0fb336c195fb21a39e3d0f3acd4881ce5e170a7' depends_on :tex - depends_on 'readline' depends_on 'bdw-gc' def install - texmfhome = share+'texmf' + texmfhome = share/'texmf' # see: https://sourceforge.net/tracker/?func=detail&aid=3486838&group_id=120000&atid=685683 inreplace 'configure', '--no-var-tracking', '' if ENV.compiler == :clang @@ -53,36 +52,34 @@ class Asymptote < Formula return (not $? == 0) end - def caveats - caveats = <<-EOS -1) This formula links the latest version of the Asymptote LaTeX and ConTeXt - packages into: - - #{HOMEBREW_PREFIX}/share/texmf + def caveats; <<-EOS.undent + 1) This formula links the latest version of the Asymptote LaTeX and ConTeXt + packages into: - In order for these packages to be visible to TeX compilers, the above - directory will need to be added to the TeX search path: + #{HOMEBREW_PREFIX}/share/texmf - sudo tlmgr conf texmf TEXMFHOME "~/Library/texmf:#{HOMEBREW_PREFIX}/share/texmf" + In order for these packages to be visible to TeX compilers, the above + directory will need to be added to the TeX search path: + sudo tlmgr conf texmf TEXMFHOME "~/Library/texmf:#{HOMEBREW_PREFIX}/share/texmf" -2) If you want to have Asymptote compiled with support for fftw or gsl - (fast fourier transforms or the GNU Scientific Library) they must be - manually installed first: - brew install fftw - brew install gsl + 2) If you want to have Asymptote compiled with support for fftw or gsl + (fast fourier transforms or the GNU Scientific Library) they must be + manually installed first: - They are not compiled by default because they take a long time to compile - and they are not required by most users. (And they're not included in the - TeX Live build of Asymptote.) + brew install fftw + brew install gsl + They are not compiled by default because they take a long time to compile + and they are not required by most users. (And they're not included in the + TeX Live build of Asymptote.) -3) If you wish to use xasy, you must first install the Python Imaging - Library (PIL): - easy_install http://effbot.org/downloads/Imaging-1.1.7.tar.gz + 3) If you wish to use xasy, you must first install the Python Imaging + Library (PIL): + easy_install http://effbot.org/downloads/Imaging-1.1.7.tar.gz EOS end end |
