From 36b9a0809147b91911d5b2a61537d31a46a2bc18 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 11 Feb 2013 21:11:22 -0800 Subject: asymptote: reformat caveats --- Library/Formula/asymptote.rb | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3