Ticket #43766: Portfile-wcslib.diff
File Portfile-wcslib.diff, 2.6 KB (added by john@…, 10 years ago) |
---|
-
Portfile
old new 5 5 6 6 name wcslib 7 7 version 4.23 8 revision 1 8 9 categories science 9 10 license LGPL-3+ 10 11 platforms darwin … … 24 25 configure.args --disable-fortran 25 26 26 27 universal_variant no 28 use_parallel_build no 29 30 patchfiles patch-configure.diff 31 post-patch { 32 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure 33 } 27 34 28 35 livecheck.type regex 29 36 livecheck.url http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES … … 33 40 configure.compiler macports-gcc-4.4 34 41 depends_lib-append port:pgplot 35 42 configure.args-delete --disable-fortran 36 post-destroot {37 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"38 }39 43 } 40 44 41 45 variant gcc45 conflicts gcc44 gcc46 gcc47 gcc48 description {Build with GCC 4.5; enables Fortran support} { 42 46 configure.compiler macports-gcc-4.5 43 47 depends_lib-append port:pgplot 44 48 configure.args-delete --disable-fortran 45 post-destroot {46 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"47 }48 49 } 49 50 50 51 variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build with GCC 4.6; enables Fortran support} { 51 52 configure.compiler macports-gcc-4.6 52 53 depends_lib-append port:pgplot 53 54 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 55 } 58 56 59 57 variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build with GCC 4.7; enables Fortran support} { 60 58 configure.compiler macports-gcc-4.7 61 59 depends_lib-append port:pgplot 62 60 configure.args-delete --disable-fortran 63 post-destroot {64 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"65 }66 61 } 67 62 68 63 variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build with GCC 4.8; enables Fortran support} { 69 64 configure.compiler macports-gcc-4.8 70 65 depends_lib-append port:pgplot 71 66 configure.args-delete --disable-fortran 72 post-destroot {73 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"74 }75 67 }