variable eval and expansion in variant descriptions

Darren Weber dweber at macports.org
Tue May 12 16:29:00 PDT 2009


The following example doesn't expand the variable in the results to 'port
variants <portname>'


set exDataPath ${prefix}/share/${distname}/data

variant data description {install example data [default: ${exDataPath}]} {
    ....
}

It would be nice if a user can find this installation information using
'port variants <portname>'.  I suppose 'port contents <portname>' is another
option.

Regards, Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090512/b0eed3df/attachment-0001.html>


More information about the macports-dev mailing list