Download and Install py-gd version 0.53 on Mac OS X
Tuesday the 8th of July, 2008

    py-gd  most recent diff


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



      # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-gd
      Version: 0.53
      revision 1
      Category: python graphics
      Maintainers: nomaintainer
      Platform: darwin
      Description: py-gd is a python wrapper for the GD library
      Long Description: py-gd is a python wrapper for the graphics library GD so you can use python to create/manipulate images (png, jpeg) by drawing lines, text, doing flood-fills, etc.

      Homepage: http://newcenturycomputers.net/projects/gdmodule.html
      master_sites http://newcenturycomputers.net/projects/download.cgi/
      distname gdmodule-${version}
      checksums md5 4a6c69697e1ff9825b23624cdab8dbdc
      patchfiles patch-Setup.py.diff

      depends_lib-append lib:libgd.2:gd2

      post-patch {
      file rename ${worksrcpath}/Setup.py ${worksrcpath}/_Setup.py
      file rename ${worksrcpath}/_Setup.py ${worksrcpath}/setup.py
      reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/setup.py
      }

      build.env LDFLAGS="-L${prefix}/lib"

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} README gd-ref.html install_notes.html ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/gddemo.py ${destroot}${prefix}/share/doc/${name}/examples/
      }

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

     Where to find more information:

    Darwin Ports



    image test