Pure-ffi - How to Download and Install on Mac OS X
Monday the 22nd of March, 2010

    pure-ffi  most recent diff


    version

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


      The pure-ffi Portfile 59863 2009-10-25 01:57:04Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup pure 1.0

      pure.setup ffi 0.7
      Revision: 2
      Category: devel
      Platform: darwin
      Maintainers: ryandesign
      license GPLv3

      Description: an interface to libffi which enables you to call C functions from Pure and vice versa

      Long Description: ${name} provides ${description}. It goes beyond Pure's built-in C interface in that it also handles C structs and makes Pure functions callable from C. Moreover, depending on the libffi implementation, it may also be possible to call foreign languages other than C.

      Checksums: md5 3416ba27d6265bc949b2cfdfbb03b1e8 sha1 d55533f67253228fa42d28dd737d6cf52d9a55fd rmd160 09fabb234bc94dcff84db171dd769027160087c3

      depends_lib-append port:libffi

      platform darwin {
      configure.cflags-append -fno-common
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.