Php5-imagick - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    php5-imagick  most recent diff


    version

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


      The php5-imagick Portfile 54675 2009-07-31 16:28:07Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

      php5extension.setup imagick 2.3.0 pecl
      Category:-append graphics
      Platform: darwin
      Maintainers: ryandesign

      Description: PHP extension to create and modify images with ImageMagick

      Long Description: Imagick is a native PHP extension for creating and modifying images using the ImageMagick API

      Checksums: md5 1493a21b37e209cc59764ac1ca2a1af9 sha1 708dbb6cc5239c327b3b2154cb8decf6c0150a6d rmd160 84750c9f83fdc2341b1eb410de4bbc870e9c5961

      depends_lib-append path:bin/MagickWand-config:ImageMagick

      configure.args --with-imagick=${prefix}

      use_parallel_build yes

      post-destroot {
      xinstall -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${prefix}/share/doc/${name}
      xinstall -d ${destroot}${prefix}/share/examples
      copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
      }

    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/php5-imagick
      % sudo port install php5-imagick
      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 php5-imagick
      ---> Verifying checksum for php5-imagick
      ---> Extracting php5-imagick
      ---> Configuring php5-imagick
      ---> Building php5-imagick with target all
      ---> Staging php5-imagick into destroot
      ---> Installing php5-imagick
    - 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 php5-imagick with these commands:
      %  man php5-imagick
      % apropos php5-imagick
      % which php5-imagick
      % locate php5-imagick

     Where to find more information:

    Darwin Ports



    Lightbox this page.