diff options
| author | Xiyue Deng | 2012-12-28 17:00:10 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-13 18:25:53 -0800 |
| commit | a1ed3a0d9474399767452269fa3ef06f82df6980 (patch) | |
| tree | 734925b2334933fa599c227e6df4fe4b8697229a | |
| parent | 50c24f978f987ee61dcc3be97c773fdea0c6be2a (diff) | |
| download | homebrew-a1ed3a0d9474399767452269fa3ef06f82df6980.tar.bz2 | |
Make asymptote use TeX requirement.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/asymptote.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb index a0d2f1911..0769003eb 100644 --- a/Library/Formula/asymptote.rb +++ b/Library/Formula/asymptote.rb @@ -1,27 +1,11 @@ require 'formula' -class TexInstalled < Requirement - def message; <<-EOS.undent - A TeX/LaTeX installation is required to install. - You can obtain the TeX distribution for Mac OS X from: - http://www.tug.org/mactex/ - EOS - end - def satisfied? - which 'latex' - end - def fatal? - true - end -end - class Asymptote < Formula homepage 'http://asymptote.sourceforge.net/' url 'http://downloads.sourceforge.net/asymptote/asymptote-2.15.src.tgz' sha1 'e0fb336c195fb21a39e3d0f3acd4881ce5e170a7' - depends_on TexInstalled.new - env :userpaths # To find TeX + depends_on :tex depends_on 'readline' depends_on 'bdw-gc' |
