Openscenegraph version 2.8.2 - How to Download and Install on Mac OS X
Saturday the 20th of March, 2010

    openscenegraph  most recent diff


    version 2.8.2

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


      The openscenegraph Portfile 57758 2009-09-16 07:48:28Z ryandesign macports.org $

      PortSystem 1.0

      Name: OpenSceneGraph
      Version: 2.8.2
      set inconvenient_version [strsed ${version} {/\.0$//}]
      Maintainers: ryandesign openmaintainer
      license OpenSceneGraphv0.0/wxWindowsv3/LGPLv2.1
      Platform: darwin
      Category: graphics
      Homepage: http://www.openscenegraph.org/
      Master Sites: ${homepage}downloads/stable_releases/${name}-${inconvenient_version}/source
      use_zip yes
      use_parallel_build yes

      Description: high-performance 3D graphics toolkit

      Long Description: ${name} is a high-performance 3D graphics toolkit useful in fields such as visual simulation, games, virtual reality, scientific visualization and modelling

      Checksums: md5 99d0b37f403b85b4559514b6b9849d9e sha1 f2f0a3285a022640345a81f536459f37f3f38d01 rmd160 3933b2395e36950c870f32db2fcddc7cc220e228

      Patch Files: patch-CMakeLists.txt.diff

      depends_build port:cmake

      depends_lib port:freetype port:gdal

      configure.cmd cmake
      configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
      configure.args -DCMAKE_BUILD_TYPE=Release

      platform darwin {
      if {${os.major} < 9} {
      configure.args-append -DDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON
      }
      }

      universal_variant no
      # patch-CMakeLists.txt.diff removes the built-in universal support. We need a
      # MacPorts-controlled universal build, but this universal variant is untested.
      #variant universal {
      # configure.args-append -DCMAKE_OSX_ARCHITECTURES="${configure.universal_archs}" # -DCMAKE_CXX_FLAGS="${configure.universal_cxxflags}"
      #}

      livecheck.version ${inconvenient_version}
      livecheck.type regex
      livecheck.url ${homepage}downloads/stable_releases/
      livecheck.regex ${name}-(\[0-9.\]+)/

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.