aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-05 16:20:53 -0800
committerAdam Vandenberg2011-03-05 16:20:53 -0800
commitb5b162eca03486a60129d5bec8794ad27f4b0292 (patch)
tree896379c2868652c080b7a7613d106ce626317272 /Library/Formula
parentad06b40449c85ecbbfc725ae3f8e7479501a8ded (diff)
downloadhomebrew-b5b162eca03486a60129d5bec8794ad27f4b0292.tar.bz2
lilypond 2.13.52
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lilypond.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb
index e0653f016..51c5f09f7 100644
--- a/Library/Formula/lilypond.rb
+++ b/Library/Formula/lilypond.rb
@@ -1,16 +1,15 @@
require 'formula'
class Lilypond <Formula
- url 'http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.36.tar.gz'
+ url 'http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.52.tar.gz'
homepage 'http://lilypond.org/'
- md5 'd19f2cdc2b07b3a156676074cbbd0dfe'
+ md5 '662e18ca5a01d3357eda17efb4ae95ce'
depends_on 'pkg-config' => :build
- # The guile version must be < 1.9
- depends_on 'guile'
depends_on 'gettext'
- depends_on 'ghostscript'
depends_on 'pango'
+ depends_on 'guile'
+ depends_on 'ghostscript'
depends_on 'mftrace'
depends_on 'fontforge'
depends_on 'texinfo'
@@ -18,15 +17,18 @@ class Lilypond <Formula
skip_clean :all
def install
+ gs = Formula.factory('ghostscript')
system "./configure", "--prefix=#{prefix}",
- "--with-ncsb-dir=#{Formula.factory('ghostscript').share}/ghostscript/fonts/"
+ "--with-ncsb-dir=#{gs.share}/ghostscript/fonts/"
# Separate steps to ensure that lilypond's custom fonts are created.
system "make"
system "make install"
end
- def caveats
- "Lilypond requires a version of TeX, such as TeX Live or MacTeX, prior to installing."
+ def caveats; <<-EOS.undent
+ Lilypond requires a version of TeX, such as TeX Live or MacTeX, prior to installing.
+ Available at: http://www.tug.org/mactex/
+ EOS
end
end