aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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"]]