gsl version 1.10 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gsl  most recent diff


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



      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      # $Id: Portfile 33804 2008-02-05 15:31:29Z jochen macports.org $

      PortSystem 1.0

      Name: gsl
      Version: 1.10
      revision 1
      Category: math science
      Maintainers: openmaintainer jochen
      Description: A numerical library for C and C++ programmers
      Long Description: The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total.

      master_sites gnu
      checksums md5 d67be4f2e5560d6cf907e18a428becdc sha1 401d0203d362948e30d0b3c58601a3bc52d0bfd4 rmd160 0b6ac2b1aec6a93521941620a824ae78f79adebb

      Platform: darwin
      # Lower optimization level (-O1) is required to avoid code generation
      # bugs in Apple's gcc 3.3 and earlier.
      platform darwin 6 {
      configure.cflags-append "-O1"
      }
      platform darwin 7 {
      configure.cflags-append "-O1"
      }

      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
      depends_build port:texinfo
      test.run yes
      test.target check

      post-install {
      system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir"
      }

      Variant: doc description "Install PDF and HTML documentation" {
      depends_build port:ghostscript bin:latex:texlive
      post-destroot {
      system "cd ${worksrcpath} && make dvi"
      system "cd ${worksrcpath}/doc && dvipdf gsl-ref.dvi gsl-ref.pdf"
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && bibtex fftalgorithms"
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && dvipdf fftalgorithms.dvi fftalgorithms.pdf"
      xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf ${destroot}${prefix}/share/doc/${name}
      system "cd ${worksrcpath} && make html"
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/html
      eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] ${destroot}${prefix}/share/doc/${name}/html
      }
      }

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

     Where to find more information:

    Darwin Ports



    image test