[154020] trunk/dports/science/Gyoto/Portfile

thibaut at macports.org thibaut at macports.org
Tue Oct 18 14:04:07 CEST 2016


Revision: 154020
          https://trac.macports.org/changeset/154020
Author:   thibaut at macports.org
Date:     2016-10-18 05:04:07 -0700 (Tue, 18 Oct 2016)
Log Message:
-----------
Gyoto: fix py??-gyoto post-destroot when gmake is not available

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

Modified: trunk/dports/science/Gyoto/Portfile
===================================================================
--- trunk/dports/science/Gyoto/Portfile	2016-10-18 12:01:47 UTC (rev 154019)
+++ trunk/dports/science/Gyoto/Portfile	2016-10-18 12:04:07 UTC (rev 154020)
@@ -7,6 +7,7 @@
 PortGroup           compilers 1.0
 
 github.setup        gyoto Gyoto 1.1.0
+revision            2
 license             GPL-3+
 categories          science yorick
 platforms           darwin
@@ -80,9 +81,7 @@
         destroot.cmd  PYTHONPATH=${frameworks_dir}/Python.framework/Versions/${wdot}:\$PYHTONPATH make
         destroot.args -C python INSTALL_DATA=true prefix=${frameworks_dir}/Python.framework/Versions/${wdot}
         post-destroot {
-            xinstall -d ${destroot}${prefix}/lib/gyoto/5_0_0
-            exec -ignorestderr gmake -C ${worksrcpath}/plugins/python install \
-                DESTDIR=${destroot}
+            system "cd ${worksrcpath}/plugins/python && ${build.cmd} install DESTDIR=${destroot}"
             xinstall -d ${destroot}/${prefix}/share/doc/${subport}/examples
             xinstall {*}[glob ${worksrcpath}/plugins/python/doc/examples/*] \
                 ${destroot}/${prefix}/share/doc/${subport}/examples/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161018/e2d511f9/attachment-0002.html>


More information about the macports-changes mailing list