Ticket #28759: Portfile

File Portfile, 1.8 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 \
22                    port:pgplot
23default_variants    +gcc45
24
25livecheck.type      regex
26livecheck.url       http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
27livecheck.regex     "WCSLIB version (\\d+\\.\\d+)"
28
29variant no_cfitsio description {Eschew CFITSIO} {
30    depends_lib-delete      port:cfitsio
31    configure.args-append   --without-cfitsio
32}
33
34variant no_pgplot description {Eschew PGPLOT} {
35    depends_lib-delete      port:pgplot
36    configure.args-append   --without-pgplot
37}
38
39variant no_fortran requires no_pgplot description {Eschew Fortran} {
40    configure.args-append   --disable-fortran
41}
42   
43variant gcc44 description {Build with GCC 4.4} conflicts gcc45 {
44    configure.compiler  macports-gcc-4.4
45    depends_lib-append  port:gcc44
46}
47   
48variant gcc45 description {Build with GCC 4.5} conflicts gcc44 {
49    configure.compiler  macports-gcc-4.5
50    depends_lib-append  port:gcc45
51}