Netxx version 0.4.2 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 0.4.2

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


      The netxx Portfile 56061 2009-08-24 00:33:19Z ryandesign macports.org $

      PortSystem 1.0
      Name: netxx
      Version: 0.4.2
      Category: devel
      Platform: darwin
      Maintainers: stechert openmaintainer
      Description: A C++ network programming library designed to take the pain out of programming network communications applications.
      Long Description: Netxx is a C++ network programming library. It is designed to take the pain out of programming network communications applications. It does this by providing an easy to use and cross-platform interface. As a side effect, you get the safety of automatic resource management and smaller, simpler code.
      Homepage: http://pmade.org/software/netxx/
      Master Sites: http://pmade.org/distfiles/oss-releases/
      Checksums: netxx-0.4.2.tar.gz md5 684b9841beda776551d2ab720faeb9b1

      set bjamasjam ${prefix}/lib/bjam/bin/jam
      depends_build path:${bjamasjam}:boost-jam

      patch.pre_args -p2
      Patch Files: patch-osutil.h.diff patch-netbuf.h.diff
      configure.env NETXX_JAM=${bjamasjam}
      build.cmd ${bjamasjam}
      build.target --release

      destroot {
      file mkdir "${destroot}${prefix}/lib"
      file copy "${worksrcpath}/src/release/libnetxx.a" "${destroot}${prefix}/lib/libnetxx.a"

      file mkdir "${destroot}${prefix}/include/netxx"
      file copy "${worksrcpath}/include/netxx/netxx.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/timeout.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/streambase.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/datagramserver.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/netbuf.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/streamserver.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/datagram.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/address.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/probe.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/types.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/stream.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/probeinfo.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/peer.h" "${destroot}${prefix}/include/netxx/"
      file copy "${worksrcpath}/include/netxx/sockopt.h" "${destroot}${prefix}/include/netxx/"

      file mkdir "${destroot}${prefix}/include/netxx/tls"
      file copy "${worksrcpath}/include/netxx/tls/netxx.h" "${destroot}${prefix}/include/netxx/tls/"
      file copy "${worksrcpath}/include/netxx/tls/context.h" "${destroot}${prefix}/include/netxx/tls/"
      file copy "${worksrcpath}/include/netxx/tls/certificate.h" "${destroot}${prefix}/include/netxx/tls/"
      file copy "${worksrcpath}/include/netxx/tls/stream.h" "${destroot}${prefix}/include/netxx/tls/"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.