| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
| 2 | # $Id$ |
| 3 | |
| 4 | PortSystem 1.0 |
| 5 | PortGroup cmake 1.0 |
| 6 | |
| 7 | name sofa |
| 8 | version 20150209 |
| 9 | set myversion 2015-02-09 |
| 10 | categories science |
| 11 | platforms darwin |
| 12 | maintainers khindenburg openmaintainer |
| 13 | |
| 14 | description Standard of Fundamental Astronomy (SOFA) Software Collection. |
| 15 | long_description \ |
| 16 | SOFA stands for \"Standards Of Fundamental Astronomy\". The SOFA \ |
| 17 | software libraries are a collection of subprograms, in source- \ |
| 18 | code form, which implement official IAU algorithms for fundamental- \ |
| 19 | astronomy computations. The subprograms at present comprise 166 \ |
| 20 | \"astronomy\" routines supported by 55 \"vector/matrix\" routines. \ |
| 21 | This is the C implementation. |
| 22 | |
| 23 | homepage http://www.iausofa.org |
| 24 | master_sites http://www.iausofa.org/2015_0209_C/ |
| 25 | |
| 26 | cmake.out_of_source yes |
| 27 | |
| 28 | distname ${name}_c-${version}_a |
| 29 | worksrcdir ${name}/${version}_a/c |
| 30 | |
| 31 | checksums rmd160 363d2601c79a28c4caf803803ead75abebff7b8c \ |
| 32 | sha256 b542c5e4ca42d91ada3c66e8d5b86eb9dec085bf1a07d058c01920c6c0b1174a |
| 33 | |
| 34 | patchfiles patch-CMakeLists.txt.diff \ |
| 35 | patch-t_sofa_c.diff |
| 36 | |
| 37 | post-destroot { |
| 38 | xinstall -d ${destroot}${prefix}/share/doc |
| 39 | file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} |
| 40 | delete {*}[glob ${destroot}${prefix}/share/doc/${name}/*.pdf] |
| 41 | } |
| 42 | |
| 43 | livecheck.url ${homepage}/current.html |
| 44 | livecheck.version ${myversion} |
| 45 | livecheck.regex {released on ([0-9]+-[0-9]+-[0-9]+)} |