# $Id$ PortSystem 1.0 name wcslib version 4.14 categories science license LGPL-3+ platforms darwin maintainers transientskp.org:swinbank description Library for handling World Coordinate System in FITS files long_description A C library, with a set of Fortran wrappers, that \ implements the World Coordinate System (WCS) standard \ in FITS (Flexible Image Transport System). homepage http://www.atnf.csiro.au/people/mcalabre/WCS/index.html master_sites gentoo \ ftp://ftp.atnf.csiro.au/pub/software/wcslib/ use_bzip2 yes checksums md5 b68fb5a980c5e7b446a452f85f53c7fc \ sha1 8c530c29866ca3414f62d27f439b3d5e6dcb39a1 \ rmd160 9a509e1ca1668ff4f1277efdd5df5c0e1e0d762f depends_lib port:cfitsio configure.args --disable-fortran livecheck.type regex livecheck.url http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES livecheck.regex "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)" variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4; enables Fortran support} { configure.compiler macports-gcc-4.4 depends_lib-append port:gcc44 \ port:pgplot configure.args-delete --disable-fortran post-destroot { system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" } } variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5; enables Fortran support} { configure.compiler macports-gcc-4.5 depends_lib-append port:gcc45 \ port:pgplot configure.args-delete --disable-fortran post-destroot { system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" } } variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6; enables Fortran support} { configure.compiler macports-gcc-4.6 depends_lib-append port:gcc46 \ port:pgplot configure.args-delete --disable-fortran post-destroot { system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" } } variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7; enables Fortran support} { configure.compiler macports-gcc-4.7 depends_lib-append port:gcc47 \ port:pgplot configure.args-delete --disable-fortran post-destroot { system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" } }