Dual licensing syntax

Jordan K. Hubbard jkh at apple.com
Wed Mar 9 12:36:57 PST 2011


On Mar 9, 2011, at 6:30 AM, Jeremy Lavergne wrote:

>> license		Artistic|GPL BSD
>> 
>> Any objections or better ideas?
> 
> Could we make use of Tcl and create an array to indicate this logic?
> 
> {lic1 lic2} vs {{lic1} {lic2}}

That was going to be my suggestion too.  Then you can just use the Tcl list logic to extract the different licenses rather than having to parse string separators - yuck.

- Jordan



More information about the macports-dev mailing list