cfitsio version 3.060 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    cfitsio  most recent diff


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



      # $Id: Portfile 30984 2007-11-13 07:53:18Z ryandesign macports.org $

      PortSystem 1.0
      Name: cfitsio
      Version: 3.060
      Category: devel
      Maintainers: nomaintainer
      Description: C/Fortran access to FITS data files
      Long Description: CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO simplifies the task of writing software that deals with FITS files by providing an easy to use set of high-level routines that insulate the programmer from the internal complexities of the FITS file format. At the same time, CFITSIO provides many advanced features that have made it the most widely used FITS file programming interface in the astronomical community.

      Platform: darwin

      Homepage: http://heasarc.gsfc.nasa.gov/fitsio/
      master_sites ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/
      distname ${name}[strsed ${version} {g/\.//}]

      worksrcdir ${name}

      checksums ${distname}${extract.suffix} md5 b7ab291d227c60b17a19a1c028dc649c sha1 ec92c0d4402d2a7cf13f514c1be77665c43e0147 rmd160 2c85f7fe1ddce8f83d5b2bdbf30c681fe0db0d87

      depends_build port:gcc42

      patchfiles patch-Makefile.in.diff

      configure.cflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
      configure.fc ${prefix}/bin/gfortran-mp-4.2

      build.target all shared

      post-destroot {
      system "ranlib ${destroot}${prefix}/lib/libcfitsio.a"
      set docdir ${destroot}${prefix}/share/doc/${name}-${version}
      xinstall -m 755 -d ${docdir}
      eval xinstall -m 644 ${worksrcpath}/README [glob ${worksrcpath}/*.txt] [glob ${worksrcpath}/*.ps] [glob ${worksrcpath}/*.doc] [glob ${worksrcpath}/*.toc] [glob ${worksrcpath}/*.tex] ${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/cfitsio
      % sudo port install cfitsio
      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 cfitsio
      ---> Verifying checksum for cfitsio
      ---> Extracting cfitsio
      ---> Configuring cfitsio
      ---> Building cfitsio with target all
      ---> Staging cfitsio into destroot
      ---> Installing cfitsio
    - 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 cfitsio with these commands:
      %  man cfitsio
      % apropos cfitsio
      % which cfitsio
      % locate cfitsio

     Where to find more information:

    Darwin Ports



    image test