From a1ed3a0d9474399767452269fa3ef06f82df6980 Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Fri, 28 Dec 2012 17:00:10 -0800 Subject: Make asymptote use TeX requirement. Signed-off-by: Adam Vandenberg --- Library/Formula/asymptote.rb | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Library') 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' -- cgit v1.2.3