Ticket #28759: Portfile.2

File Portfile.2, 1.3 KB (added by jdswinbank (John Swinbank), 14 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                wcslib
6version             4.7
7categories          science
8platforms           darwin
9maintainers         transientskp.org:swinbank
10description         Library for handling World Coordinate System in FITS files
11long_description    A C library, with a set of Fortran wrappers, that \
12                    implements the World Coordinate System (WCS) standard \
13                    in FITS (Flexible Image Transport System).
14homepage            http://www.atnf.csiro.au/people/mcalabre/WCS/index.html
15master_sites        ftp://ftp.atnf.csiro.au/pub/software/wcslib/
16use_bzip2           yes
17checksums           md5     139edd8acf971f74493b70b88de3fb2c \
18                    sha1    8cef9943381367aa938ce45b8eacf51ca57ce851 \
19                    rmd160  071ca016684cdfb1b23738532f10155c11ec62af
20patchfiles          patch-pgsbox-GNUmakefile.diff
21depends_lib         port:cfitsio
22configure.args      --disable-fortran
23
24livecheck.type      regex
25livecheck.url       http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
26livecheck.regex     "WCSLIB version (\\d+\\.\\d+)"
27
28
29variant gcc45 description {Build with GCC 4.5; enables Fortran support}  {
30    configure.compiler      macports-gcc-4.5
31    depends_lib-append      port:gcc45 \
32                            port:pgplot
33    configure.args-delete   --disable-fortran
34}