[120862] trunk/dports/python/py-ffc/Portfile

sean at macports.org sean at macports.org
Tue Jun 10 03:50:21 PDT 2014


Revision: 120862
          https://trac.macports.org/changeset/120862
Author:   sean at macports.org
Date:     2014-06-10 03:50:21 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
py-ffc: move cmake files into known path

Modified Paths:
--------------
    trunk/dports/python/py-ffc/Portfile

Modified: trunk/dports/python/py-ffc/Portfile
===================================================================
--- trunk/dports/python/py-ffc/Portfile	2014-06-10 10:50:17 UTC (rev 120861)
+++ trunk/dports/python/py-ffc/Portfile	2014-06-10 10:50:21 UTC (rev 120862)
@@ -7,6 +7,7 @@
 
 bitbucket.setup     fenics-project ffc 1.4.0 ffc-
 name                py-ffc
+revision            1
 
 categories-append   math science
 license             LGPL-3+
@@ -42,5 +43,10 @@
         }
     }
 
+    post-destroot {
+        move ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/share/ufc/ ${destroot}${prefix}/share/ufc
+        reinplace -W ${destroot}${prefix}/share/ufc "s,${frameworks_dir}/Python.framework/Versions/2.7/share/ufc,${prefix}/share/ufc," UFCConfig.cmake
+    }
+
     livecheck.type  none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/eca3942d/attachment.html>


More information about the macports-changes mailing list