Coin version 3.1.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 3.1.0

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


      The coin Portfile 52959 2009-06-26 11:49:57Z css macports.org $

      PortSystem 1.0

      Name: Coin
      Version: 3.1.0
      Description: cross platform C++ OpenGL scene graph library
      Long Description: Coin is a high-level 3D graphics library with a C++ Application Programming Interface. Coin uses scene-graph data structures to render real-time graphics suitable for mostly all kinds of scientific and engineering visualization applications.

      Category: graphics devel
      Homepage: http://www.coin3d.org/lib/coin/
      Platform: darwin
      Maintainers: css
      Master Sites: http://ftp.coin3d.org/coin/src/all/
      Checksums: md5 bbb3956e68a88c6e4a074a7283656955 sha1 369f3b28baa7725ab2a3f0f2cf4ccaa191fcecc5 rmd160 0fd8125b08be4d623d2ded14feceb0c70b45eec4

      depends_lib port:simage port:xorg-libsm port:xorg-libXext

      use_configure yes
      configure.args --with-simage=${prefix} --mandir=${prefix}/share/man

      platform darwin {
      configure.args-append --disable-framework --enable-darwin-x11
      }

      Variant: aqua requires darwin {
      configure.args-delete --disable-framework --enable-darwin-x11
      configure.args-append --with-framework=${destroot}/Library/Frameworks --without-x
      depends_lib-delete port:xorg-libsm port:xorg-libXext
      }

      Variant: devel description {Activate developer features, including debug libraries.} {
      configure.args-append --enable-next-minor --enable-debug
      }

      Variant: manpages description {Include API documentation in manpages.} {
      depends_build-append port:doxygen
      configure.args-append --enable-man --mandir=${prefix}/share/man
      post-destroot {
      file rename ${destroot}${prefix}/share/man/man3/threads.3 ${destroot}${prefix}/share/man/man3/threads-coin.3
      file rename ${destroot}${prefix}/share/man/man3/manips.3 ${destroot}${prefix}/share/man/man3/manips-coin.3
      }
      }

      Variant: threadsafe description {Allow threadsafe scene graph traversals.} {
      configure.args-append --enable-threadsafe
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.