Ticket #33893: Portfile-wcslib.3.diff
File Portfile-wcslib.3.diff, 3.3 KB (added by jdswinbank (John Swinbank), 12 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 90301 2012-03-01 17:27:30Z jmr@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 5 name wcslib 6 version 4. 8.46 version 4.14 7 7 categories science 8 8 license LGPL-3+ 9 9 platforms darwin … … 16 16 master_sites gentoo \ 17 17 ftp://ftp.atnf.csiro.au/pub/software/wcslib/ 18 18 use_bzip2 yes 19 checksums md5 e11147f58feca75110ffe770c0f53a3b\20 sha1 66c0be7b71aa66d0db7e68bb75c02e9f406c18c5\21 rmd160 23e9e4439eced5427986582ae534241499a7d56019 checksums md5 b68fb5a980c5e7b446a452f85f53c7fc \ 20 sha1 8c530c29866ca3414f62d27f439b3d5e6dcb39a1 \ 21 rmd160 9a509e1ca1668ff4f1277efdd5df5c0e1e0d762f 22 22 depends_lib port:cfitsio 23 23 configure.args --disable-fortran 24 24 … … 26 26 livecheck.url http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES 27 27 livecheck.regex "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)" 28 28 29 variant gcc44 conflicts gcc45 gcc46 description {Build with GCC 4.4; enables Fortran support} {29 variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4; enables Fortran support} { 30 30 configure.compiler macports-gcc-4.4 31 31 depends_lib-append port:gcc44 \ 32 32 port:pgplot 33 33 configure.args-delete --disable-fortran 34 post-destroot { 35 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 36 } 34 37 } 35 38 36 variant gcc45 conflicts gcc44 gcc46 description {Build with GCC 4.5; enables Fortran support} {39 variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5; enables Fortran support} { 37 40 configure.compiler macports-gcc-4.5 38 41 depends_lib-append port:gcc45 \ 39 42 port:pgplot 40 43 configure.args-delete --disable-fortran 44 post-destroot { 45 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 46 } 41 47 } 42 48 43 variant gcc46 conflicts gcc44 gcc45 description {Build with GCC 4.6; enables Fortran support} {49 variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6; enables Fortran support} { 44 50 configure.compiler macports-gcc-4.6 45 51 depends_lib-append port:gcc46 \ 46 52 port:pgplot 47 53 configure.args-delete --disable-fortran 54 post-destroot { 55 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 56 } 57 } 58 59 variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7; enables Fortran support} { 60 configure.compiler macports-gcc-4.7 61 depends_lib-append port:gcc47 \ 62 port:pgplot 63 configure.args-delete --disable-fortran 64 post-destroot { 65 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 66 } 48 67 }