udunits version 1.12.4 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    udunits  most recent diff


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



      # $Id: Portfile 32961 2008-01-15 14:22:22Z takeshi macports.org $
      PortSystem 1.0
      Name: udunits
      Version: 1.12.4
      revision 0
      Maintainers: takeshi macports.org
      Platform: darwin
      Category: science

      Description: Unidata unit conversion libraray
      Long Description: The Unidata units library supports conversion of unit specifications between formatted and binary forms, arithmetic manipulation of unit specifications, and conversion of values between compatible scales of measurement.

      Homepage: http://unidata.ucar.edu/packages/udunits/

      master_sites ftp://ftp.unidata.ucar.edu/pub/udunits/ ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
      distfiles ${name}.tar.Z
      checksums sha1 ca8d591fd0fa400136be882d13c7c0fcd3ec8404
      worksrcdir ${distname}/src
      depends_lib port:perl5.8

      configure.cppflags "-DNDEBUG -Df2cFortran"
      configure.cc /usr/bin/cc
      configure.cflags "-O2 -fno-common"
      configure.env MANDIR=${prefix}/share/man

      destroot.destdir DESTDIR=${destroot} prefix=${destroot}${prefix} exec_prefix=${destroot}${prefix} MANDIR=\\\${prefix}/share/man

      #post-destroot {
      # delete ${destroot}${prefix}/share/man/whatis.db
      #}

      Variant: g95 {
      depends_build-append port:g95
      configure.fc ${prefix}/bin/g95
      configure.env-append FFLAGS="-O2 -fno-common"
      }

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

     Where to find more information:

    Darwin Ports



    image test