[150518] trunk/dports/python/py-ffc/Portfile
sean at macports.org
sean at macports.org
Wed Jul 20 13:38:31 PDT 2016
Revision: 150518
https://trac.macports.org/changeset/150518
Author: sean at macports.org
Date: 2016-07-20 13:38:31 -0700 (Wed, 20 Jul 2016)
Log Message:
-----------
py-ffc: update to 2016.1.0
Modified Paths:
--------------
trunk/dports/python/py-ffc/Portfile
Modified: trunk/dports/python/py-ffc/Portfile
===================================================================
--- trunk/dports/python/py-ffc/Portfile 2016-07-20 20:38:28 UTC (rev 150517)
+++ trunk/dports/python/py-ffc/Portfile 2016-07-20 20:38:31 UTC (rev 150518)
@@ -5,7 +5,7 @@
PortGroup python 1.0
PortGroup bitbucket 1.0
-bitbucket.setup fenics-project ffc 1.6.0 ffc-
+bitbucket.setup fenics-project ffc 2016.1.0 ffc-
name py-ffc
categories-append math science
@@ -22,8 +22,8 @@
form can be given in mathematical notation and the generated \
code is as efficient as hand-optimized code.
-checksums rmd160 250734b6f128c3c9d93fcc151b44cddd346c5c63 \
- sha256 418b0b89f2e46e28611476f8269d99461c57a79b8c4e676821c2a063d3ed26c2
+checksums rmd160 187cff1cbc258686d8509edf5c152296dca7bbc5 \
+ sha256 f1023bd18b41fa6184770bdf379b205c6357ef23b18c7a3e50773fd706abbd62
python.versions 27
python.link_binaries_suffix
@@ -52,8 +52,14 @@
}
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
+ move {*}[glob ${destroot}${destroot}/include/*.h] ${destroot}${prefix}/include
+ move {*}[glob ${destroot}${destroot}/lib/pkgconfig/*.pc] ${destroot}${prefix}/lib/pkgconfig
+ move ${destroot}${destroot}/share/ufc/ ${destroot}${prefix}/share/ufc
+ reinplace -W ${destroot}${prefix}/lib/pkgconfig "s,${destroot},${prefix},g" ufc-1.pc
+ reinplace -W ${destroot}${prefix}/share/ufc "s,${destroot},${prefix},g" UFCConfig.cmake
+ reinplace -W ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc "s,${destroot},${prefix},g" ufc_include.py
+ delete ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/ufc_include.pyc
+ system -W ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc "${prefix}/bin/python2.7 -m compileall ufc_include.py"
}
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160720/d9594087/attachment.html>
More information about the macports-changes
mailing list