diff options
| author | Xiyue Deng | 2012-12-28 19:02:06 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-13 18:25:53 -0800 |
| commit | b9c63ec3adc7f798fdf803faf628571e5e6df507 (patch) | |
| tree | 09b0479839d137bcf3183d002e6453a6fa674539 /Library | |
| parent | 73b51da5340be5bada6f89d326ab5011ad54c42b (diff) | |
| download | homebrew-b9c63ec3adc7f798fdf803faf628571e5e6df507.tar.bz2 | |
Make chktex use TeX requirement.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/chktex.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/chktex.rb b/Library/Formula/chktex.rb index 55bf669c8..22400c50e 100644 --- a/Library/Formula/chktex.rb +++ b/Library/Formula/chktex.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 Chktex < Formula homepage 'http://www.nongnu.org/chktex/' url 'http://download.savannah.gnu.org/releases/chktex/chktex-1.7.1.tar.gz' sha1 'ed94b96ed8ce65fb1cef1b5fc019045c5b2dd8a8' - depends_on TexInstalled.new - env :userpaths # To find TeX + depends_on :tex def install system "./configure", "--prefix=#{prefix}" |
