Php5-gd - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    php5-gd  most recent diff


    version

      View the most recent changes for the php5-gd port at: php5-gd.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for php5-gd.
      The raw portfile for php5-gd is located here:
      http://php5-gd.darwinports.com/dports/php/php5-gd/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-gd


      The php5-gd Portfile 56576 2009-08-30 11:46:21Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

      php5extension.setup gd 5.3.0 bundled
      Category:-append graphics
      Platform: darwin
      Maintainers: ryandesign

      Description: a PHP interface to the gd library

      Long Description: ${description}

      Checksums: md5 846760cd655c98dfd86d6d97c3d964b0 sha1 934700941d216c453376e3bf24347041cf12c6dc rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44

      depends_lib-append port:freetype port:jpeg port:libpng port:zlib

      configure.args-append --with-freetype-dir=${prefix} --with-jpeg-dir=${prefix} --with-png-dir=${prefix} --with-zlib-dir=${prefix} --enable-gd-native-ttf

      use_parallel_build yes

      Variant: t1lib description {Add PostScript Type 1 font support with t1lib} {
      depends_lib-append port:t1lib
      configure.args-append --with-t1lib=${prefix}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.