# $Id: Portfile,v 1.3 2005/10/19 08:10:05 blb Exp $ PortSystem 1.0 name cfitsio version 2.490 revision 1 categories devel maintainers blb@opendarwin.org 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. platforms darwin homepage http://heasarc.gsfc.nasa.gov/fitsio/ master_sites ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ distname ${name}2490 worksrcdir ${name} checksums md5 271b07dcfe3e928e5138d64672eb77d9 depends_build bin:g77:g77 destroot { xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} libcfitsio.a ${destroot}/${prefix}/lib system "ranlib ${destroot}/${prefix}/lib/libcfitsio.a" xinstall -m 644 -W ${worksrcpath} fitsio.h fitsio2.h longnam.h \ drvrsmem.h ${destroot}/${prefix}/include eval xinstall -m 644 README [glob ${worksrcpath}/*.txt] \ [glob ${worksrcpath}/*.ps] [glob ${worksrcpath}/*.doc] \ [glob ${worksrcpath}/*.toc] [glob ${worksrcpath}/*.tex] \ ${destroot}/${prefix}/share/doc/${name} }