Download and Install py-cgipm version 0.1 on Mac OS X
Friday the 25th of July, 2008

    py-cgipm  most recent diff


      View the most recent changes for the py-cgipm port at: py-cgipm.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py-cgipm.
      The raw portfile for py-cgipm 0.1 is located here:
      http://py-cgipm.darwinports.com/dports/python/py-cgipm/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-cgipm
      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-cgipm
      Version: 0.1
      revision 1
      Category: python www
      Platform: darwin
      Maintainers: nomaintainer
      Description: CGI interface tool for use as python module
      Long Description: CGIpm is the Common Gateway Interface tool written in Python. The CGIpm Python module, like CGI.pm for Perl, is a tool for writing dynamic web pages. There exist many functions to accomplish all that you need to do when writing HTML documents for the web. On top of this functionality, CGIpm creates headers, cookies, and checks the parameters passed into web pages via online forms.

      Homepage: http://www.unixbeast.com/CGIpm/
      master_sites ${homepage}
      distname CGIpm
      checksums md5 57acf4998fda294efc0a985213e03f1b

      post-extract {
      file copy ${filespath}/setup.py ${worksrcpath}
      reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
      }

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} CGIpmManual.txt README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} IMAPClient.cgi iapproveornot.cgi ${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-cgipm
      % sudo port install py-cgipm
      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-cgipm
      ---> Verifying checksum for py-cgipm
      ---> Extracting py-cgipm
      ---> Configuring py-cgipm
      ---> Building py-cgipm with target all
      ---> Staging py-cgipm into destroot
      ---> Installing py-cgipm
    - 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-cgipm with these commands:
      %  man py-cgipm
      % apropos py-cgipm
      % which py-cgipm
      % locate py-cgipm

     Where to find more information:

    Darwin Ports



    image test