Cgnslib version 2.5.4 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    cgnslib  most recent diff


    version 2.5.4

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


      The cgnslib Portfile 58234 2009-09-24 18:09:37Z ryandesign macports.org $

      PortSystem 1.0

      Name: cgnslib
      Version: 2.5.4
      set branch [join [lrange [split ${version} .] 0 1] .]
      set minor [lindex [split ${version} .] end]
      Category: science
      Maintainers: cerfacs.fr:dechaume
      license zlib

      Description: Computational fluid dynamics data container.
      Long Description: The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee.

      Homepage: http://cgns.sourceforge.net/
      Platform: darwin
      distname ${name}_${branch}-${minor}
      Master Sites: sourceforge:cgns

      Checksums: md5 42063efdf726c81300a51c3495d3224e sha1 d5f99f6df7409d923d8703fc3732b13bd1d89b20

      worksrcdir ${name}_${branch}

      configure.args-append --enable-lfs

      # cgns tools
      post-build {
      system "cd ${worksrcpath}/tools && make"
      }

      destroot.destdir PREFIX=${destroot}${prefix}

      post-destroot {
      xinstall -m 755 -W ${worksrcpath}/tools cgnsversion cgnspack cgnsdiff cgnscheck cgnslist ${destroot}${prefix}/bin
      set docdir ${destroot}${prefix}/share/doc/${name}
      xinstall -d ${docdir}
      xinstall -m 644 -W ${worksrcpath} LICENSE README ${docdir}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.