[138303] trunk/dports/science/esmf/Portfile

takeshi at macports.org takeshi at macports.org
Sun Jul 5 02:22:12 PDT 2015


Revision: 138303
          https://trac.macports.org/changeset/138303
Author:   takeshi at macports.org
Date:     2015-07-05 02:22:12 -0700 (Sun, 05 Jul 2015)
Log Message:
-----------
esmf: remove build directory from esmf.mk

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

Modified: trunk/dports/science/esmf/Portfile
===================================================================
--- trunk/dports/science/esmf/Portfile	2015-07-05 08:16:58 UTC (rev 138302)
+++ trunk/dports/science/esmf/Portfile	2015-07-05 09:22:12 UTC (rev 138303)
@@ -12,6 +12,7 @@
 
 name                esmf
 version             6_3_0rp1
+revision            1
 categories          science devel
 platforms           darwin
 license             UoI-NCSA
@@ -150,7 +151,9 @@
 }
 
 post-destroot {
-    reinplace "s|${destroot}||" ${destroot}${prefix}/lib/esmf.mk
+    reinplace "s|${destroot}||g" ${destroot}${prefix}/lib/esmf.mk
+    reinplace "s|-L${worksrcpath}/lib||g" ${destroot}${prefix}/lib/esmf.mk
+    reinplace "s|-I${worksrcpath}/src/Infrastructure/stubs/.*||g" ${destroot}${prefix}/lib/esmf.mk
     system -W ${destroot}${prefix}/lib "ranlib libesmf.a"
     foreach l {libesmf.dylib libesmf_fullylinked.dylib} {
         if {[file exists ${destroot}${prefix}/lib/${l}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150705/a62d335e/attachment.html>


More information about the macports-changes mailing list