> On Oct 18, 2016, at 6:04 AM, thib...@macports.org wrote:
> 
> Revision
> 154020 <https://trac.macports.org/changeset/154020>Author
> thib...@macports.org <mailto:thib...@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-chan...@lists.macosforge.org 
> <mailto:macports-chan...@lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes 
> <https://lists.macosforge.org/mailman/listinfo/macports-changes>
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to