source: trunk/dports/science/wcslib/Portfile @ 144295

Last change on this file since 144295 was 144295, checked in by dstrubbe@…, 4 years ago

wcslib: Use compilers portgroup for Fortran variants. C compiler is now default.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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: Portfile 144295 2016-01-06 02:36:01Z dstrubbe@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                wcslib
8version             4.25.1
9categories          science
10license             LGPL-3+
11platforms           darwin
12maintainers         nomaintainer
13description         Library for handling World Coordinate System in FITS files
14long_description    A C library, with a set of Fortran wrappers, that \
15                    implements the World Coordinate System (WCS) standard \
16                    in FITS (Flexible Image Transport System). \
17                    Select a Fortran compiler variant to enable the Fortran wrappers.
18homepage            http://www.atnf.csiro.au/people/mcalabre/WCS/index.html
19master_sites        ftp://ftp.atnf.csiro.au/pub/software/wcslib/ \
20                    ftp://ftp.eso.org/pub/dfs/pipelines/libraries/wcslib/
21use_bzip2           yes
22
23checksums           rmd160  114a0c866347380561788f1773dd94932a98f0bf \
24                    sha256  1e5127513c2f402a30daa280f5b4f6da53e73484cbc8085868bc432f807c8495
25
26depends_lib         port:cfitsio
27configure.args      --disable-fortran
28
29universal_variant   no
30use_parallel_build  no
31
32patchfiles          patch-configure.diff
33
34livecheck.type      regex
35livecheck.url       http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
36livecheck.regex     "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)"
37
38compilers.choose    fc f77 f90
39compilers.setup
40
41if {[fortran_variant_isset]} {
42    depends_lib-append      port:pgplot
43    configure.args-delete   --disable-fortran
44}
Note: See TracBrowser for help on using the repository browser.