Right, thanks both for the help.
I will check on qwt just to see the solution, and given Stuart
experience in the ports tree I will use the directory separation
solution.

Cheers.
Elias.

2018-05-25 8:25 GMT-03:00 Stuart Henderson <[email protected]>:
> On 2018/05/25 01:03, Elias M. Mariani wrote:
>> Hi,
>> I'm making a port of devel/spyder that has the python3 FLAVOR.
>> now, spyder and spyder3 have the same docs, so even when the
>> applications files do not cause a conflict, the docs files do.
>> So I just divided the port in 2 packages -main and -docs, but the idea
>> is to create 3 at  the end:
>> - spyder
>> - spyder3
>> - spyder-docs
>
> In this case, there's no real need to split, the files aren't large.
> Just rename the directory to avoid the conflict and put them in the main
> package with a variable in the PLIST to adapt to it. You already use
> MAJOR_VERSION so can do this
>
>         mv ${PREFIX}/share/doc/spyder 
> ${PREFIX}/share/doc/spyder${MAJOR_VERSION}
>
> and adapt PLIST to match.
>
>> So no collisions and 0 problems, my question is, how do I set the
>> multi-packages and the flavor without generating a 4th package.
>> Example attached and also in openbsd-wip on github under devel/spyder.
>> https://github.com/jasperla/openbsd-wip/blob/master/devel/spyder/Makefile
>>
>> Thanks for the help.
>> Elias.
>
> In cases where you do need this approach, override FULLPKGPATH and FULLPKGNAME
> for the common "unflavoured" package, grepping for FULLPKGPATH in the ports
> tree will find examples.
>

Reply via email to