diff options
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 245b1275e..b47a0b285 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -7,21 +7,22 @@ class GhostscriptFonts <Formula end class Ghostscript <Formula - url 'http://downloads.sourceforge.net/project/ghostscript/GPL%20Ghostscript/8.70/ghostscript-8.70.tar.bz2' + url 'http://downloads.sourceforge.net/project/ghostscript/GPL%20Ghostscript/8.71/ghostscript-8.71.tar.gz' homepage 'http://www.ghostscript.com/' - md5 '526366f8cb4fda0d3d293597cc5b984b' + md5 '51a522a5b4818bd3dc7c1c0e9dd22bad' + depends_on 'pkg-config' depends_on 'jasper' depends_on 'jpeg' - aka :gs + aka 'gs' def move_included_source_copies # If the install version of any of these doesn't match # the version included in ghostscript, we get errors # Taken from the MacPorts portfile - http://bit.ly/ghostscript-portfile %w{ jpeg libpng zlib }.each do |lib| - FileUtils.mv lib, "#{lib}_local" + mv lib, "#{lib}_local" end end @@ -35,7 +36,6 @@ class Ghostscript <Formula move_included_source_copies - system "./configure", "--prefix=#{prefix}", "--disable-debug", # the cups component adamantly installs to /usr so fuck it "--disable-cups", @@ -48,17 +48,18 @@ class Ghostscript <Formula GhostscriptFonts.new.brew do Dir.chdir '..' - (prefix+'share'+'ghostscript').install 'fonts' + (prefix+'share/ghostscript').install 'fonts' end (man+'de').rmtree end - def caveats; "\ -There have been reports that installing Ghostscript can break printing on OS X - -http://github.com/mxcl/homebrew/issues/issue/528 + def caveats + <<-EOS.undent + There have been reports that installing Ghostscript can break printing on OS X: + http://github.com/mxcl/homebrew/issues/issue/528 -If your printing doesn't break, please comment on the issue! Thanks." + If your printing doesn't break, please comment on the issue! Thanks. + EOS end end |
