Download and Install libwww version 5.4.0 on Mac OS X
Tuesday the 8th of July, 2008

    libwww  most recent diff


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



      # $Id: Portfile 34520 2008-02-27 13:05:23Z reiffert macports.org $

      PortSystem 1.0

      Name: libwww
      Version: 5.4.0
      revision 1
      Category: www
      Platform: darwin
      Maintainers: nomaintainer
      Description: The W3C WWW Reference Library
      Homepage: http://w3.org/
      Long Description: Libwww is a general-purpose Web API written in C for Unix and Windows (Win32). With a highly extensible and layered API, it can accommodate many different types of applications including clients, robots, etc.

      master_sites http://www.w3.org/Library/Distribution/ macports:lt:lt
      distname w3c-${distname}
      extract.suffix .tgz
      extract.only ${distfiles}

      depends_lib port:openssl
      distfiles-append ltconfig13:lt ltmain13:lt

      checksums [suffix ${distname}] md5 c3734ca6caa405707e134cc8c6d7e422 ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e ltmain13 md5 e094ae92724c4015dbab97de151c2525

      patchfiles patch-configure.diff

      post-patch {
      system "cp ${distpath}/ltconfig13 ${worksrcpath}/config/ltconfig"
      system "cp ${distpath}/ltmain13 ${worksrcpath}/config/ltmain.sh"
      reinplace "s| PREFIX |${prefix}|g" configure
      }

      configure.args --enable-shared --enable-static --with-zlib --with-ssl

      Variant: expat description {builds against expat} {
      depends_build-append lib:libexpat.0:expat
      configure.args-append --with-expat
      }


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

     Where to find more information:

    Darwin Ports



    image test