[71338] trunk/dports/graphics/vtk5/Portfile

Rainer Müller raimue at macports.org
Thu Sep 9 09:04:12 PDT 2010


On 2010-09-09 17:30 , raphael at macports.org wrote:
> Revision: 71338
>           http://trac.macports.org/changeset/71338
> Author:   raphael at macports.org
> Date:     2010-09-09 08:30:18 -0700 (Thu, 09 Sep 2010)
> Log Message:
> -----------
> vtk5:
> 
> * collect post-destroot phases of all variants to allow combinations of these phases

For your information, it should be possible to have multiple post-phase
blocks in the way it was before. Was there a apparent problem with the
previous Portfile?

Unlike a normal phase block (like destroot {}), a pre- or post-phase
block (like post-destroot {}) does not overwrite the previous
declaration, but will append to it even if declared inside variants.

For the order of execution, the order of declaration is used. Variants
are evaluated the last, which means post-phase blocks will be the last
to be executed. So if the order of execution is important, you can fall
back to [variant_isset] conditionals.

Rainer


More information about the macports-dev mailing list