source: trunk/dports/science/cdf-to-fits/Portfile

Last change on this file was 150613, checked in by raimue@…, 14 months ago

science/cfitsio:
Fix compatibility version in library, closes #51645
Rev-bump all direct dependents for rebuild.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 150613 2016-07-24 08:27:35Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    cdf-to-fits
6version                 1.0
7revision                1
8maintainers             gmail.com:doc.aronnax
9categories              science
10description             CDF to FITS converter
11long_description        Tool for converting CDF files to FITS files
12homepage                http://cdf.gsfc.nasa.gov/html/dtws.html
13platforms               darwin
14fetch.use_epsv          no
15master_sites            ftp://cdaweb.gsfc.nasa.gov/pub/cdf/conversion_tools/source/
16distname                ${name}
17dist_subdir             ${name}/${version}
18extract.suffix          .tar
19extract.cmd             tar
20extract.pre_args        -xf
21extract.post_args
22
23# cdf is not universal
24universal_variant       no
25
26checksums               md5 d805504740ec92c40a85b712fe57b168 \
27                        sha1 c2a6802b4819f4f39a6f24ecd940c9841e19fa16 \
28                        rmd160 091fa81c6bc92a875134e041aa2da6152dfb754b
29
30depends_lib             port:cfitsio \
31                        port:cdf
32
33patchfiles              patch-Makefile.in.diff
34
35configure.args          --with-cfitsio-prefix=${prefix} \
36                        --with-cdf-prefix=${prefix}
37
38destroot.post_args      INSTDIR=${destroot}${prefix}/bin
39
40post-destroot {
41    set docdir ${destroot}${prefix}/share/doc/${name}
42    xinstall -d ${docdir}
43    xinstall -m 644 -W ${worksrcpath} \
44        README \
45        ${docdir}
46}
Note: See TracBrowser for help on using the repository browser.