diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1322,7 +1322,7 @@ Possible arguments: (none), `build`, `run`, `current`, `lts`, `10`, `14`, `16`, `17`. -Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is +Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is specified then `run` and/or `build` must be specified too. [[uses-objc]] @@ -2053,6 +2053,53 @@ Adds crossref:plist[plist-keywords-terminfo,`@terminfo`] to the [.filename]#plist#. Use when the port installs [.filename]#*.terminfo# files in [.filename]#${PREFIX}/share/misc#. +[[uses-tex]] +== `tex` + +Possible arguments: (none) + +Provide support for tex. +Loads all the default variables for TEX related ports and does not add any dependency on any ports. + +Variables are used to specify which TEX modules are required. + +`USE_TEX`:: +The list of required TEX extensions at run-time. +Add `:build` to the extension name to add a build-time dependency, `:run` to add runtime dependency, `:test` for test time dependency, `:extract` for extract time dependency. +Example: `base texmf:build source:run` + +Current possible arguments are as follows: + +* `base` +* `texmf` +* `source` +* `docs` +* `web2c` +* `kpathsea` +* `ptexenc` +* `basic` +* `tlmgr` +* `texlua` +* `texluajit` +* `synctex` +* `xpdfopen` +* `dvipsk` +* `dvipdfmx` +* `xdvik` +* `gbklatex` +* `formats` +* `tex` +* `latex` +* `pdftex` +* `jadetex` +* `luatex` +* `ptex` +* `xetex` +* `xmltex` +* `texhash` +* `updmap` +* `fmtutil` + [[uses-tk]] == `tk`