On May 30, 2010, at 23:11, [email protected] wrote:
> Revision: 68285
> http://trac.macports.org/changeset/68285
> Author: [email protected]
> Date: 2010-05-30 21:11:51 -0700 (Sun, 30 May 2010)
> Log Message:
> -----------
> add depot_tools (for chromium)
>
> Added Paths:
> -----------
> trunk/dports/devel/depot_tools/
> trunk/dports/devel/depot_tools/Portfile
> +variant python25 {
> + depends_run port:py25-socket-ssl
> +}
> +
> +variant python26 {
> + depends_run port:python26
> +}
> +
> +variant python27 {
> + depends_run port:python27
> +}
These variants should conflict, right? And they should have descriptions.
> + reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/drover
> + reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gcl
> + reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gclient
> + reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/hammer
By the way, reinplace can handle multiple files in one invocation, so you can
simplify this kind of thing to:
reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/drover \
${worksrcpath}/gcl \
${worksrcpath}/gclient \
${worksrcpath}/hammer
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev