------- Original Message -------
On Friday, June 17th, 2022 at 15:54, Nuno Teixeira <edua...@freebsd.org> wrote:


> Ok, I will adjust license terms following your example, commit the port 
> update and let uptream author know about this, since I'm waiting for his 
> answer about this same license subject for months :)
> Related to '${WRKSRC}/../..//docs/License.txt' thats because port uses
> 'WRKSRC=${WRKDIR}/${DISTNAME}/src/current'
> I can't see other way to beutify or simply this variables.

I think you probably want to leave WRKSRC to its default value
and define WRKSRC_SUBDIR instead as
WRKSRC_SUBDIR=src/current

You might also be interested in BUILD_WRKSRC and other similar
variables: I suggest you explore Mk/bsd.port.mk in your ports
tree.

If you are unable to avoid redefining WRKSRC, you can define
LICENSE_FILE as
LICENSE_FILE=${WRKDIR}/${DISTNAME}/docs/License.txt

Cheers,

Lorenzo Salvadore

Reply via email to