aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXiyue Deng2012-12-28 18:00:25 -0800
committerAdam Vandenberg2013-01-13 18:25:53 -0800
commitcc705baff67305a3d83c19950ae508c9c78d332b (patch)
tree864888d3eb3902626d3e611647eca49c3758fd68 /Library
parenta1ed3a0d9474399767452269fa3ef06f82df6980 (diff)
downloadhomebrew-cc705baff67305a3d83c19950ae508c9c78d332b.tar.bz2
Make latex-mk use TeX requirement.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/latex-mk.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/latex-mk.rb b/Library/Formula/latex-mk.rb
index b91c7b62d..7b81fe25a 100644
--- a/Library/Formula/latex-mk.rb
+++ b/Library/Formula/latex-mk.rb
@@ -1,27 +1,11 @@
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 LatexMk < Formula
homepage 'http://latex-mk.sourceforge.net/index.html'
url 'http://sourceforge.net/projects/latex-mk/files/latex-mk/latex-mk-2.1/latex-mk-2.1.tar.gz'
sha1 '8460fd1f3c716e5759828c2a5af76eeafbce8d10'
- depends_on TexInstalled.new
- env :userpaths # To find TeX
+ depends_on :tex
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",