Re: git: 721e5776c957 - main - Mk/**tex.mk: Convert bsd.tex.mk to USES=tex

From: Moin Rahman <bofh_at_freebsd.org>
Date: Mon, 19 Dec 2022 15:20:52 UTC

> On Dec 19, 2022, at 4:06 PM, Renato Botelho <garga@FreeBSD.org> wrote:
> 
> On 19/12/22 11:45, Muhammad Moinur Rahman wrote:
>> index cf49b696640c..57a1c21cb16e 100644
>> --- a/lang/mlton/Makefile
>> +++ b/lang/mlton/Makefile
>> @@ -83,8 +83,9 @@ MAKE_ARGS=	DESTDIR='' MLTON_VERSION=${PORTVERSION} \
>>  .if ${PORT_OPTIONS:MDOCS}
>>  BUILD_DEPENDS+=	htmldoc:textproc/htmldoc
>>  MAKE_ARGS+=	MLTON_BINARY_RELEASE_WITH_DOCS=true
>> -#USE_TEX=	latex:build
>> -USE_TEX=	latex:formats
>> +USES+=		tex
>> +USE_TEX=	latex:build
>> +#USE_TEX=	latex:formats
> 
> This change seems wrong, it used to have latex:formats before and not it has latex:build.
> 
> --
> Renato Botelho
> 

There was no keyword like <FORMAT>:formats in the previous bsd.tex.mk and neither there were any checks on the validity of the keywords. :v

I think the descriptions are still a bit confusing and I need some help describing it more profoundly.

In the file there is a description section formats and listing some tex formats which somehow uses the text like `formats:` and some formats but that colon is to list the separate formats not something like formats:<ARGS>. In addition to that there is in fact a keyword formats which also has a valid ARGS like test|build|run|extract|lib to mean the dependency on print/tex-formats rather than individual formats. In case it's required to have a dep on those listed formats the keyword of the name of the format should be used.

I think I have been able to describe it properly but in case not feel free to advise if by anyhow I can improve the descriptions in the file.

Kind regards,
Moin