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

    version 3.1.2

      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.2 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 60208 2009-11-05 11:48:08Z css macports.org $

      PortSystem 1.0

      Name: Coin
      Version: 3.1.2
      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 7282fd27f1b0f70a9d729eae342889d0 sha1 5cf0018da2e67e0fa2858f094bb170acb20f3055 rmd160 8b357238ed8f9d718b240911ee9c6fc7d1881213

      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.