From 50c24f978f987ee61dcc3be97c773fdea0c6be2a Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Fri, 28 Dec 2012 16:48:31 -0800 Subject: Make auctex use TeX requirement. Signed-off-by: Adam Vandenberg --- Library/Formula/auctex.rb | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'Library') diff --git a/Library/Formula/auctex.rb b/Library/Formula/auctex.rb index d850e3286..c15d119fb 100644 --- a/Library/Formula/auctex.rb +++ b/Library/Formula/auctex.rb @@ -1,29 +1,12 @@ 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 Auctex < Formula homepage 'http://ftp.gnu.org/pub/gnu/auctex' url 'http://ftpmirror.gnu.org/auctex/auctex-11.87.tar.gz' mirror 'http://ftp.gnu.org/gnu/auctex/auctex-11.87.tar.gz' sha1 '0be92c7d8f89d57346fe07f05a1a045ffd11cd71' - env :userpaths - - depends_on TexInstalled.new + depends_on :tex def options [['--with-emacs=', "Force a different emacs"]] -- cgit v1.2.3