[96426] trunk/dports/science/wcslib/Portfile

jmr at macports.org jmr at macports.org
Thu Aug 9 13:22:35 PDT 2012


Revision: 96426
          https://trac.macports.org/changeset/96426
Author:   jmr at macports.org
Date:     2012-08-09 13:22:32 -0700 (Thu, 09 Aug 2012)
Log Message:
-----------
wcslib: maintainer update to 4.14, also adding gcc47 variant (#33893)

Modified Paths:
--------------
    trunk/dports/science/wcslib/Portfile

Modified: trunk/dports/science/wcslib/Portfile
===================================================================
--- trunk/dports/science/wcslib/Portfile	2012-08-09 15:41:42 UTC (rev 96425)
+++ trunk/dports/science/wcslib/Portfile	2012-08-09 20:22:32 UTC (rev 96426)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                wcslib
-version             4.8.4
+version             4.14
 categories          science
 license             LGPL-3+
 platforms           darwin
@@ -16,9 +16,9 @@
 master_sites        gentoo \
                     ftp://ftp.atnf.csiro.au/pub/software/wcslib/
 use_bzip2           yes
-checksums           md5     e11147f58feca75110ffe770c0f53a3b \
-                    sha1    66c0be7b71aa66d0db7e68bb75c02e9f406c18c5 \
-                    rmd160  23e9e4439eced5427986582ae534241499a7d560
+checksums           md5     b68fb5a980c5e7b446a452f85f53c7fc \
+                    sha1    8c530c29866ca3414f62d27f439b3d5e6dcb39a1 \
+                    rmd160  9a509e1ca1668ff4f1277efdd5df5c0e1e0d762f
 depends_lib         port:cfitsio
 configure.args      --disable-fortran
 
@@ -26,23 +26,42 @@
 livecheck.url       http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
 livecheck.regex     "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)"
 
-variant gcc44 conflicts gcc45 gcc46 description {Build with GCC 4.4; enables Fortran support}  {
+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 description {Build with GCC 4.5; enables Fortran support}  {
+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 description {Build with GCC 4.6; enables Fortran support}  {
+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"
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120809/78489973/attachment.html>


More information about the macports-changes mailing list