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

mf2k at macports.org mf2k at macports.org
Tue Oct 18 06:49:25 PDT 2016


> On Oct 18, 2016, at 6:04 AM, thibaut at macports.org wrote:
> 
> Revision
> 154020 <https://trac.macports.org/changeset/154020>Author
> thibaut at macports.org <mailto: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 <x-msg://31/#trunkdportsscienceGyotoPortfile>
> Diff
> 
>  <>Modified: trunk/dports/science/Gyoto/Portfile (154019 => 154020)
> 
> --- 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
In the future, the revision starts at 0 by default, so you can use 1 for the first revision. 

>  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}”
Please do not use system “cd ...” because that is obsolete syntax. Use system -W /path/… instead. See also the FAQ [1] about this. 

[1] <https://trac.macports.org/wiki/FAQ#cd>

>              xinstall -d ${destroot}/${prefix}/share/doc/${subport}/examples
>              xinstall {*}[glob ${worksrcpath}/plugins/python/doc/examples/*] \
>                  ${destroot}/${prefix}/share/doc/${subport}/examples/
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20161018/e104da99/attachment-0001.html>


More information about the macports-dev mailing list