gnudatalanguage version 0.9pre5 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gnudatalanguage  most recent diff


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



      # $Id: Portfile 32956 2008-01-15 14:14:44Z takeshi macports.org $
      PortSystem 1.0
      Name: gnudatalanguage
      Version: 0.9pre5
      Category: math science
      Maintainers: takeshi macports.org
      Platform: darwin
      Description: a free IDL combatible incremental compiler
      Long Description: A free IDL (Interactive Data Language) compatible incremental compiler (ie. runs IDL programs).
      Homepage: http://gnudatalanguage.sourceforge.net/
      master_sites sourceforge
      distname gdl-${version}

      checksums md5 d2a740ba633ff7ace23f452d34a9c42c

      depends_build port:automake port:libtool
      depends_lib port:bzip2 port:freetype port:gsl port:hdf5 port:ImageMagick port:jpeg port:ncurses port:netcdf port:plplot port:python24 port:py-numarray port:readline port:tiff

      configure.env FFLAGS=-O2
      configure.cppflags "-I${prefix}/include/python2.4"
      configure.args --with-plplotdir=${prefix} --with-ncursesdir=${prefix} --with-readlinedir=${prefix} --with-gsldir=${prefix} --with-netcdf=${prefix} --without-hdf --with-hdf5=${prefix} --with-python=${prefix}/Library/Frameworks/Python.framework/Versions/2.4 --enable-python_version=2.4 --with-Magick=${prefix} --disable-dependency-tracking

      patch {
      foreach f {configure.in configure} {
      reinplace "s|-L\$with_hdf5/lib/hdf -L\$with_hdf5/lib/hdf5||" ${worksrcpath}/${f}
      reinplace "s|-I\$with_hdf5/include/hdf -I\$with_hdf5/include/hdf5||" ${worksrcpath}/${f}
      reinplace "s|-lproj4|-lproj|g" ${worksrcpath}/${f}
      }
      reinplace "s|AC_CHECK_LIB(proj4|AC_CHECK_LIB(proj|" ${worksrcpath}/configure.in
      reinplace "s|-L/usr/X11R6/lib64||" ${worksrcpath}/src/Makefile.am
      reinplace "s|lib_proj.h|projects.h|" ${worksrcpath}/src/math_utl.hpp
      foreach d {src src/antlr} {
      reinplace "s|libantlr|libantlr_gdl|g" ${worksrcpath}/${d}/Makefile.am
      }
      }
      post-patch {
      # Avoid using heimdal's broken fnmatch.h
      reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/src/file.cpp
      }

      destroot.destdir prefix=${destroot}${prefix}
      destroot.target install-strip

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      foreach f {AUTHORS COPYING ChangeLog HACKING INSTALL NEWS PYTHON.txt README TODO} {
      eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
      }
      }

      Variant: proj {
      depends_lib-append port:proj
      configure.cxx "g++ -DPJ_LIB__"
      configure.args-append --with-libproj4=${prefix}
      }

      if {![variant_isset g95]} {
      default_variants +gcc42
      }
      Variant: gcc42 conflicts g95 description {Build using gcc42 (default)} {
      depends_build-append port:gcc42
      configure.f77 ${prefix}/bin/gfortran-mp-4.2
      }
      Variant: g95 conflicts gcc42 description {Build using g95} {
      depends_build-append port:g95
      configure.f77 ${prefix}/bin/g95
      }


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

     Where to find more information:

    Darwin Ports



    image test