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

    version 0.7.6

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


      The gts Portfile 58271 2009-09-25 03:17:55Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0
      Name: gts
      Version: 0.7.6
      Category: math
      Platform: darwin
      Maintainers: nomaintainer
      Description: The GNU Triangulated Surface library
      Long Description: GTS stands for the GNU Triangulated Surface Library. It is an Open Source Free Software Library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles.

      Homepage: http://gts.sourceforge.net/
      Master Sites: sourceforge

      Checksums: md5 9f710aefd2ed9b3cc1b1216171fc5a8a

      depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2

      if { [variant_isset universal] } {
      # Find architectures which will not run on build platform.
      if { ${os.arch}=="i386" } {
      if { ${os.major} >= 10 } {
      set cross_archs "ppc ppc64"
      } else {
      set cross_archs "ppc64"
      }
      } else {
      set cross_archs "i386 x86_64"
      }

      set run_arch [lindex ${universal_archs} 0]
      if { [lsearch ${cross_archs} ${run_arch}] >= 0 } {
      ui_msg "When building a universal binary of ${name}, make sure none of {${cross_archs}} is first in universal_archs in ${prefix}/etc/macports/macports.conf"
      error "incompatible universal_archs value"
      }

      post-configure {
      foreach arch ${cross_archs} {
      reinplace "s|\\./predicates_init|${worksrcpath}-${run_arch}/src/predicates_init|" ${worksrcpath}-${arch}/src/Makefile
      }
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.