triangle version 1.6 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    triangle  most recent diff


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



      # $Id: Portfile 33268 2008-01-22 11:09:39Z jwa macports.org $

      PortSystem 1.0

      Name: triangle
      Version: 1.6
      Category: science
      Maintainers: jwa openmaintainer
      Description: A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator
      Long Description: Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes. The latter can be generated with no small or large angles, and are thus suitable for finite element analysis.

      Platform: darwin

      Homepage: http://www.cs.cmu.edu/~quake/triangle.html
      master_sites http://cm.bell-labs.com/netlib/voronoi/
      distname ${name}.shar

      worksrcdir ${name}

      checksums sha1 b581366c09340f33c634eb2bb724881924fe87a3

      extract.suffix .gz
      extract.cmd gzip
      extract.pre_args -dc
      extract.post_args "| sh"

      post-extract {
      cd ${workpath}
      file mkdir ${worksrcdir}
      eval file rename [glob \[A-s\]* t*.?] ${worksrcdir}
      reinplace "s/-DLINUX//" ${worksrcdir}/makefile
      }

      depends_lib lib:libX11.6:XFree86

      use_configure no

      destroot {
      }

      destroot.destdir BINDIR=${destroot}${prefix}/bin

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/bin
      eval xinstall -m 644 -W ${worksrcpath} A.poly README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 755 -W ${worksrcpath} triangle showme ${destroot}${prefix}/bin
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex Version (1\.\[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/triangle
      % sudo port install triangle
      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 triangle
      ---> Verifying checksum for triangle
      ---> Extracting triangle
      ---> Configuring triangle
      ---> Building triangle with target all
      ---> Staging triangle into destroot
      ---> Installing triangle
    - 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 triangle with these commands:
      %  man triangle
      % apropos triangle
      % which triangle
      % locate triangle

     Where to find more information:

    Darwin Ports



    image test