aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXiyue Deng2012-12-28 16:48:31 -0800
committerAdam Vandenberg2013-01-13 18:25:47 -0800
commit50c24f978f987ee61dcc3be97c773fdea0c6be2a (patch)
tree803f6b30310989eb2e87194aad5b74c631244997 /Library
parent7907ab8ab90f3fee39c366e6ae5d0b39e0588b72 (diff)
downloadhomebrew-50c24f978f987ee61dcc3be97c773fdea0c6be2a.tar.bz2
Make auctex use TeX requirement.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/auctex.rb19
1 files changed, 1 insertions, 18 deletions
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=</full/path/to/emacs>', "Force a different emacs"]]