[46043] trunk/dports

Ryan Schmidt ryandesign at macports.org
Tue Jan 27 20:12:27 PST 2009


On Jan 27, 2009, at 15:24, illogic-al at macports.org wrote:

> -default_variants        +docs
> -
> -variant docs description "Install documentation" {
> -    depends_lib             port:doxygen
> -    configure.args-append   -DBUILD_doc=ON
> +variant no_docs description "Does not install documentation" {
> +    depends_lib-delete      port:doxygen
> +    configure.args-delete   -DBUILD_doc=ON
> +    configure.args-append   -DBUILD_doc=OFF
>  }

Remember, variant descriptions should read like radio buttons. So  
"Don't install documentation" or "Omit documentation" would be  
preferable to "Does not install documentation".



More information about the macports-dev mailing list