aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/auctex.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-28 08:43:22 +0100
committerMike McQuaid2015-01-28 14:18:41 +0000
commit4c8e9985bdfd874c080e3582dcbbe1d18db14eb1 (patch)
tree633acee57a39d024228832a784cbec30bef7b188 /Library/Formula/auctex.rb
parent17591399426f91a733c06c9c05d4ed535d819bf4 (diff)
downloadhomebrew-4c8e9985bdfd874c080e3582dcbbe1d18db14eb1.tar.bz2
auctex 11.88
Closes #36304. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/auctex.rb')
-rw-r--r--Library/Formula/auctex.rb22
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