diff options
| author | Charlie Sharpsteen | 2011-08-25 17:10:07 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-08-25 17:11:20 -0700 |
| commit | eb08180e5cc06507ba0aed73ccd74b8b906bd6bc (patch) | |
| tree | b42bdd0895ab3c0b234c93bb99b3e44f202e7631 /Library/Formula | |
| parent | 32dfc2dfd7a2dcf1c2c1552cfe383af655592682 (diff) | |
| download | homebrew-eb08180e5cc06507ba0aed73ccd74b8b906bd6bc.tar.bz2 | |
Redact auctex
This reverts commit 32dfc2dfd7a2dcf1c2c1552cfe383af655592682.
Formula installs files outside of the Homebrew prefix, specifically to
`~/.emacs.d/auctex`.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/auctex.rb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Library/Formula/auctex.rb b/Library/Formula/auctex.rb deleted file mode 100644 index 23640aa6e..000000000 --- a/Library/Formula/auctex.rb +++ /dev/null @@ -1,39 +0,0 @@ -require 'formula' - -class Auctex < Formula - url 'http://ftp.gnu.org/pub/gnu/auctex/auctex-11.86.tar.gz' - homepage 'http://ftp.gnu.org/pub/gnu/auctex' - md5 '6bc33a67b6ac59db1aa238f3693b36d2' - - def install - # based on the asymtote formula LaTeX check - if `which latex`.strip == '' - onoe <<-EOS.undent - AUCTeX requires a TeX/LaTeX installation; aborting now. - You can obtain the TeX distribution for Mac OS X from - http://www.tug.org/mactex/ - EOS - Process.exit - end - texmf = `kpsewhich -var-value=TEXMFHOME`.strip - emacs = `which emacs`.strip - lispdir = File.join ENV['HOME'], '.emacs.d', 'auctex' - system "./configure", "--prefix=#{prefix}", "--with-texmf-dir=#{texmf}", - "--with-emacs=#{emacs}", "--with-lispdir=#{lispdir}" - system "make" - system "make install" - end - - def caveats; <<-EOS.undent - * texmf files installed into - ~/Library/texmf/tex/preview - - * Emacs package installed into - ~/.emacs.d/auctex - - * to activate add the following to your .emacs - (add-to-list 'load-path "~/.emacs.d/auctex") - (require 'tex-site) - EOS - end -end |
