agsocket version 0.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    agsocket  most recent diff


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



      # $Id: Portfile 29000 2007-09-12 23:03:32Z nox macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: agsocket
      set my_name AGSocket
      Version: 0.3
      Category: devel framework
      Platform: darwin
      Maintainers: nomaintainer
      Description: yet another BSD sockets framework for use in Cocoa applications

      Long Description: AGSocket is yet another BSD sockets framework for use in Cocoa applications. The primary class is AGSocket, this can be used for TCP sockets, UDP sockets, raw sockets, whatever. Additionally several socket address classes are included, notably AGInetSocketAddress for vanilla Internet socket addresses. Unlike some of the other excellent sockets frameworks already available, AGSocket is primarily designed for asynchronous I/O thanks to the underlying CFSocket API (though there's nothing stopping you from using it for normal synchronous I/O if you are so inclined).

      Homepage: http://agkit.sourceforge.net/
      master_sites sourceforge:agkit
      distname ${my_name}-${version}
      extract.suffix .tgz

      checksums md5 6bc6840a84d8549774fb584db1ea8b2c sha1 bbec9d15492a322d6604b8e8ea2c5d0520f3b850 rmd160 204559b0c2f79e044d773d074e34bdc3204df15e

      worksrcdir ${my_name}

      xcode.target ${my_name}
      xcode.destroot.type framework

      Variant: universal {
      post-patch {
      set pbxproject ${worksrcpath}/${my_name}.pbproj/project.pbxproj

      reinplace -E "/OTHER_CFLAGS/s|\"\"|\"${configure.universal_cflags}\"|" ${pbxproject}
      reinplace -E "/OTHER_LDFLAGS/s|\"\"|\"${configure.universal_ldflags}\"|" ${pbxproject}
      }
      }

      livecheck.regex "${my_name} ${my_name}-(\\d+(?:\\.\\d+)*) released.*"


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

     Where to find more information:

    Darwin Ports



    image test