Imagemagick version 6.5.6-10 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    imagemagick  most recent diff


    version 6.5.6-10

      View the most recent changes for the imagemagick port at: imagemagick.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for imagemagick.
      The raw portfile for imagemagick 6.5.6-10 is located here:
      http://imagemagick.darwinports.com/dports/graphics/ImageMagick/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/imagemagick


      The imagemagick Portfile 59175 2009-10-11 00:27:06Z ryandesign macports.org $

      PortSystem 1.0

      Name: ImageMagick
      Version: 6.5.6-10
      set reasonable_version [lindex [split ${version} -] 0]
      Homepage: http://www.imagemagick.org/
      Category: graphics devel
      Maintainers: ryandesign
      license ImageMagick
      use_7z yes
      Platform: darwin
      use_parallel_build yes

      Description: Tools and libraries to manipulate images in many formats

      Long Description: ImageMagick is a robust collection of tools and libraries to create, edit and compose bitmap images in a wide variety of formats. You can crop, resize, rotate, sharpen, color reduce or add effects or text or straight or curved lines to an image or image sequence and save your completed work in the same or differing image format. You can even create images from scratch. Image processing operations are available from the command line as well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk programming interfaces. Over 90 image formats are supported, including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF.

      Master Sites: http://image_magick.veidrodis.com/image_magick/ http://imagemagick.linux-mirror.org/download/ ftp://ftp.imagemagick.net/pub/${name}/ ftp://ftp.fifi.org/pub/ImageMagick/
      # sourceforge:imagemagick
      # http://ftp.surfnet.nl/pub/ImageMagick/ # ftp://ftp.nluug.nl/pub/${name}/
      Checksums: md5 1445ad29a49b3c8a084e04bed0db11f4 sha1 733c99c83f0d982cedd2b2a7b922e5e4df571073 rmd160 3b8011df319171f7f4f6de30dd2209d12ceb3189

      depends_lib port:xorg-libXext port:xorg-libXt port:bzip2 port:jpeg port:libpng port:tiff port:zlib port:freetype port:fontconfig port:libiconv port:expat port:libxml2

      depends_build port:pkgconfig

      configure.args --enable-shared --enable-static --disable-ltdl-install --without-openexr --disable-hdri --with-dps --with-bzlib --with-fontconfig --with-jpeg --with-png --with-tiff --with-zlib --with-modules --with-xml --with-x --without-perl --without-fpx --without-gslib --without-jbig --without-jp2 --without-lcms --without-wmf --without-gvc --without-rsvg --without-lqr

      test.run yes
      test.target check
      test.env DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs

      post-destroot {
      if {[variant_isset universal]} {
      if {${configure.universal_cppflags} != ""} {
      reinplace "s|${configure.universal_cppflags}||" ${destroot}${prefix}/bin/Magick++-config ${destroot}${prefix}/bin/Magick-config ${destroot}${prefix}/bin/MagickCore-config ${destroot}${prefix}/bin/MagickWand-config ${destroot}${prefix}/bin/Wand-config
      }
      reinplace "s|${configure.universal_ldflags}||" ${destroot}${prefix}/bin/Magick++-config ${destroot}${prefix}/bin/Magick-config ${destroot}${prefix}/bin/MagickCore-config ${destroot}${prefix}/bin/MagickWand-config ${destroot}${prefix}/bin/Wand-config
      }
      }

      Variant: rsvg description {Support SVG using librsvg} {
      depends_lib-append port:librsvg
      configure.args-delete --without-rsvg
      configure.args-append --with-rsvg
      }

      Variant: perl description {Install PerlMagick} {
      depends_lib-append path:bin/perl:perl5
      configure.args-delete --without-perl
      configure.args-append --with-perl=${prefix}/bin/perl
      post-destroot {
      foreach packlist [exec find ${destroot} -name .packlist] {
      ui_info "Fixing packlist ${packlist}"
      reinplace "s|${destroot}||" ${packlist}
      }
      foreach badfile [exec find ${destroot} -name perllocal.pod] {
      ui_info "Removing ${badfile}"
      file delete ${badfile}
      }
      }
      }

      Variant: gs description {Include Ghostscript library support} {
      depends_lib-append port:ghostscript
      configure.args-delete --without-gslib
      configure.args-append --with-gslib
      }

      Variant: lcms description {Support the Little Color Management System} {
      depends_lib-append port:lcms
      configure.args-delete --without-lcms
      configure.args-append --with-lcms
      }

      Variant: lqr description {Support Liquid Rescale (experimental)} {
      depends_lib-append port:liblqr
      configure.args-delete --without-lqr
      configure.args-append --with-lqr
      }

      Variant: wmf description {Support the Windows Metafile Format} {
      depends_lib-append port:libwmf
      configure.args-delete --without-wmf
      configure.args-append --with-wmf
      }

      Variant: mpeg description {Support MPEG-1 and MPEG-2 video} {
      depends_lib-append port:mpeg2vidcodec
      }

      Variant: jbig description {Support JBIG} {
      depends_lib-append port:jbigkit
      configure.args-delete --without-jbig
      configure.args-append --with-jbig
      }

      Variant: jpeg2 description {Support JPEG-2000 using JasPer} {
      depends_lib-append port:jasper
      configure.args-delete --without-jp2
      configure.args-append --with-jp2
      }

      Variant: graphviz description {Support Graphviz} {
      depends_lib-append path:bin/dot:graphviz
      configure.args-delete --without-gvc
      configure.args-append --with-gvc
      }

      Variant: hdri description {Support High Dynamic Range Imaging using OpenEXR} {
      depends_lib-append port:openexr
      configure.args-delete --without-openexr --disable-hdri
      configure.args-append --with-openexr --enable-hdri
      }

      Variant: q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} {
      configure.args-append --with-quantum-depth=8
      }

      Variant: q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} {
      configure.args-append --with-quantum-depth=16
      }

      Variant: q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} {
      configure.args-append --with-quantum-depth=32
      }

      if {![variant_isset q8] && ![variant_isset q32]} {
      default_variants +q16
      }

      Variant: no_x11 {
      depends_lib-delete port:xorg-libXext port:xorg-libXt
      configure.args-delete --with-x
      configure.args-append --without-x
      }

      Variant: no_plus_plus description {Do not install Magick++} {
      configure.args-append --without-magick-plus-plus
      }

      livecheck.version ${reasonable_version}
      livecheck.type regex
      livecheck.url http://ftp.surfnet.nl/pub/ImageMagick/
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)?

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/imagemagick
      % sudo port install imagemagick
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching imagemagick
      ---> Verifying checksum for imagemagick
      ---> Extracting imagemagick
      ---> Configuring imagemagick
      ---> Building imagemagick with target all
      ---> Staging imagemagick into destroot
      ---> Installing imagemagick
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using imagemagick with these commands:
      %  man imagemagick
      % apropos imagemagick
      % which imagemagick
      % locate imagemagick

     Where to find more information:

    Darwin Ports



    Lightbox this page.