Download and Install cgilib version 0.6 on Mac OS X
Wednesday the 23rd of July, 2008

    cgilib  most recent diff


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



      # $Id: Portfile 36857 2008-05-16 21:23:36Z markd macports.org $

      PortSystem 1.0

      Name: cgilib
      Version: 0.6
      Category: www devel
      Maintainers: nomaintainer

      Description: CGI Library

      Long Description: A simple library whose purpose is to provide an easy to use interface to CGI if you need to write your program in C instead of perl.

      Homepage: http://www.infodrom.org/projects/cgilib/
      Platform: darwin

      master_sites http://www.infodrom.org/projects/cgilib/download/

      checksums md5 392f00a4ce90426606efcb6ce705fd75
      use_configure no

      build.target ""
      build.args CFLAGS="-O3 -fPIC -I."
      post-build {
      system "ranlib ${worksrcpath}/libcgi.a"
      }

      destroot.args INSTALL_OPTS_LIB='-m 644 -p'
      destroot {
      xinstall -d -m 755 ${destroot}${prefix}/include ${destroot}${prefix}/lib ${destroot}${prefix}/man/man3
      eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include
      eval xinstall -m 755 [glob ${worksrcpath}/libcgi*] ${destroot}${prefix}/lib
      eval xinstall -m 755 [glob ${worksrcpath}/*.3] ${destroot}${prefix}/share/man/man3
      }

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

     Where to find more information:

    Darwin Ports



    image test