aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXu Cheng2014-12-29 08:43:07 +0800
committerJack Nagel2014-12-28 21:56:06 -0500
commit851ee40eda363bbaa671507a1016982f6efc78fb (patch)
tree8854cbb2c96c6da6b8f12a88a051a15bd873e569 /Library/Formula
parentbade3d93ba3085b3c61b1947e01f5e8ef9caf2e6 (diff)
downloadhomebrew-851ee40eda363bbaa671507a1016982f6efc78fb.tar.bz2
texinfo: modernize
Closes #35323. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/texinfo.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/texinfo.rb b/Library/Formula/texinfo.rb
index 87206528e..d426781f5 100644
--- a/Library/Formula/texinfo.rb
+++ b/Library/Formula/texinfo.rb
@@ -1,10 +1,8 @@
-require 'formula'
-
class Texinfo < Formula
- homepage 'http://www.gnu.org/software/texinfo/'
- url 'http://ftpmirror.gnu.org/texinfo/texinfo-5.2.tar.gz'
- mirror 'http://ftp.gnu.org/gnu/texinfo/texinfo-5.2.tar.gz'
- sha1 'dc54edfbb623d46fb400576b3da181f987e63516'
+ homepage "http://www.gnu.org/software/texinfo/"
+ url "http://ftpmirror.gnu.org/texinfo/texinfo-5.2.tar.gz"
+ mirror "http://ftp.gnu.org/gnu/texinfo/texinfo-5.2.tar.gz"
+ sha1 "dc54edfbb623d46fb400576b3da181f987e63516"
bottle do
sha1 "988fc8c195a43ad8b9dea1da2827fb24c794c200" => :yosemite
@@ -21,7 +19,7 @@ class Texinfo < Formula
system "./configure", "--disable-dependency-tracking",
"--disable-install-warnings",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
# The install warns about needing to install texinfo.tex and some other support files.
# The texinfo.tex in tex-live 2008 is identical to texinfo's version, so we can ignore this.
@@ -30,7 +28,7 @@ class Texinfo < Formula
# This somewhat breaks the homebrew philosophy, I am sorry.
# Also, we don't depend on tex-live, but this directory only exists if it is installed.
if File.exist? "#{HOMEBREW_PREFIX}/share/texmf-dist/" then
- system "cp", "doc/epsf.tex", "#{HOMEBREW_PREFIX}/share/texmf-dist/tex/generic/dvips/"
+ cp "doc/epsf.tex", "#{HOMEBREW_PREFIX}/share/texmf-dist/tex/generic/dvips/"
end
end
end