aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXiyue Deng2012-12-28 18:39:09 -0800
committerAdam Vandenberg2013-01-13 18:25:53 -0800
commit73b51da5340be5bada6f89d326ab5011ad54c42b (patch)
tree0e47ce4d5f317cef29ce77c837d57347c029682f /Library/Formula
parentcc705baff67305a3d83c19950ae508c9c78d332b (diff)
downloadhomebrew-73b51da5340be5bada6f89d326ab5011ad54c42b.tar.bz2
Make lilypond use TeX requirement.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lilypond.rb23
1 files changed, 1 insertions, 22 deletions
diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb
index 9c7011f1b..2dce13589 100644
--- a/Library/Formula/lilypond.rb
+++ b/Library/Formula/lilypond.rb
@@ -1,34 +1,13 @@
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/
- After you install it, put its bin in your PATH and open a new Terminal tab.
- You should also do this because MacTex installs with root ownership:
- sudo chown -R $USER `brew --prefix`
- That will change all the files and directories back to being owned by you.
- EOS
- end
- def satisfied?
- which 'mpost'
- end
- def fatal?
- true
- end
-end
-
class Lilypond < Formula
homepage 'http://lilypond.org/'
url 'http://download.linuxaudio.org/lilypond/sources/v2.16/lilypond-2.16.1.tar.gz'
sha1 'ce923f27091ec5501df7bcd0596f1ffd7ab9b8b9'
- env :userpaths
-
option 'with-doc', "Build documentation in addition to binaries (may require several hours)."
- depends_on TexInstalled.new
+ depends_on :tex
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'pango'