diff options
| author | Adam Vandenberg | 2011-04-08 08:38:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-08 08:38:23 -0700 |
| commit | 68e22792e42a18de3245de89394de133125d15c4 (patch) | |
| tree | 02991c1fc35085af4e48080228e98e4caa32e01d /Library/Formula | |
| parent | 5f8c7f75eab6b0469473f1d4a5799c3f89f04657 (diff) | |
| download | homebrew-68e22792e42a18de3245de89394de133125d15c4.tar.bz2 | |
ImageMagick 6.6.9-4
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/imagemagick.rb | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index faf201a96..1379d1934 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -25,12 +25,6 @@ def magick_plus_plus? ARGV.include? '--with-magick-plus-plus' end -def x11? - # I used this file because old Xcode seems to lack it, and its that old - # Xcode that loads of people seem to have installed still - File.file? '/usr/X11/include/ft2build.h' -end - class Imagemagick < Formula # Using an unofficial Git mirror to work around: # * Stable tarballs disappearing @@ -38,15 +32,14 @@ class Imagemagick < Formula # Send update requests to https://github.com/adamv/ImageMagick # Be sure to include the ImageMagick SVN revision # for the new version. url 'git://github.com/adamv/ImageMagick.git', - :ref => 'fdb125591a17a4002798742014118d5cfee44394' - version '6.6.7-10' + :tag => '6.6.9-4' + version '6.6.9-4' homepage 'http://www.imagemagick.org' head 'git://github.com/adamv/ImageMagick.git' depends_on 'jpeg' - depends_on 'libpng' unless x11? - depends_on 'ghostscript' => :recommended if ghostscript_srsly? and x11? + depends_on 'ghostscript' => :recommended if ghostscript_srsly? depends_on 'libtiff' => :optional depends_on 'little-cms' => :optional @@ -91,9 +84,6 @@ class Imagemagick < Formula inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}' system "./configure", *args system "make install" - - # We already copy these into the keg root - %w[NEWS.txt LICENSE ChangeLog].each {|f| (share+"ImageMagick/#{f}").unlink} end def caveats @@ -103,12 +93,6 @@ class Imagemagick < Formula * Bad https cert on official SVN repo EOS - unless x11? - s += <<-EOS.undent - You don't have X11 from the Xcode DMG installed. Consequently Imagemagick is less fully featured. - - EOS - end unless ghostscript_fonts? or ghostscript_srsly? s += <<-EOS.undent Some tools will complain if the ghostscript fonts are not installed in: |
