# $Id: Portfile 150613 2016-07-24 08:27:35Z raimue@macports.org $ PortSystem 1.0 name cdf-to-fits version 1.0 revision 1 maintainers gmail.com:doc.aronnax categories science description CDF to FITS converter long_description Tool for converting CDF files to FITS files homepage http://cdf.gsfc.nasa.gov/html/dtws.html platforms darwin fetch.use_epsv no master_sites ftp://cdaweb.gsfc.nasa.gov/pub/cdf/conversion_tools/source/ distname ${name} dist_subdir ${name}/${version} extract.suffix .tar extract.cmd tar extract.pre_args -xf extract.post_args # cdf is not universal universal_variant no checksums md5 d805504740ec92c40a85b712fe57b168 \ sha1 c2a6802b4819f4f39a6f24ecd940c9841e19fa16 \ rmd160 091fa81c6bc92a875134e041aa2da6152dfb754b depends_lib port:cfitsio \ port:cdf patchfiles patch-Makefile.in.diff configure.args --with-cfitsio-prefix=${prefix} \ --with-cdf-prefix=${prefix} destroot.post_args INSTDIR=${destroot}${prefix}/bin post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ README \ ${docdir} }