diff options
| -rw-r--r-- | Library/Formula/auctex.rb | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Library/Formula/auctex.rb b/Library/Formula/auctex.rb index f017ac73b..2881806c0 100644 --- a/Library/Formula/auctex.rb +++ b/Library/Formula/auctex.rb @@ -1,13 +1,11 @@ -require 'formula' - class Auctex < Formula - homepage 'http://www.gnu.org/software/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' + homepage "https://www.gnu.org/software/auctex/" + url "http://ftpmirror.gnu.org/auctex/auctex-11.88.tar.gz" + mirror "https://ftp.gnu.org/gnu/auctex/auctex-11.88.tar.gz" + sha1 "098a9751c4e00812e61d62a0184a07d9753904df" head do - url 'git://git.savannah.gnu.org/auctex.git' + url "git://git.savannah.gnu.org/auctex.git" depends_on "autoconf" => :build end @@ -16,14 +14,14 @@ class Auctex < Formula option "with-emacs=", "Path to an emacs binary" def which_emacs - emacs = ARGV.value('with-emacs') || which('emacs').to_s - raise "#{emacs} not found" unless File.exist? emacs - return emacs + emacs = ARGV.value("with-emacs") || which("emacs").to_s + fail "#{emacs} not found" unless File.exist? emacs + emacs end def install # configure fails if the texmf dir is not there yet - brew_texmf = share + 'texmf' + brew_texmf = share/"texmf" brew_texmf.mkpath system "./autogen.sh" if build.head? @@ -35,7 +33,7 @@ class Auctex < Formula system "make" ENV.deparallelize # Needs a serialized install - system "make install" + system "make", "install" end def caveats |
