[82480] trunk/dports/math/pspp-devel/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Aug 14 06:43:31 PDT 2011


On Aug 14, 2011, at 08:31, snc at macports.org wrote:

> Revision: 82480
>          http://trac.macports.org/changeset/82480
> Author:   snc at macports.org
> Date:     2011-08-14 06:31:07 -0700 (Sun, 14 Aug 2011)
> Log Message:
> -----------
> pspp-devel:
> * update to ge30f5e
> * convert +no_* variants
> 
> Modified Paths:
> --------------
>    trunk/dports/math/pspp-devel/Portfile


> +if {[variant_isset no_gui]} {
> +    if {[variant_isset no_graph]} {
> +        default_variants -gui -graph
> +    } else {
> +        default_variants -gui +graph
> +    }
> +} else {
> +    if {[variant_isset no_graph]} {
> +        default_variants +gui -graph
> +    } else {
> +        default_variants +gui +graph
> +    }
> +}

It doesn't need to be this complicated; you don't need to nest it like this. See...

http://lists.macosforge.org/pipermail/macports-dev/2011-August/015632.html

...for how it can be simpler.





More information about the macports-dev mailing list