git: c06ad42897 - main - [phb][Uses]: Improve nodejs

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c06ad42897d56a7b1b7414a03d0b880d16fec834

commit c06ad42897d56a7b1b7414a03d0b880d16fec834
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2026-05-07 09:03:38 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2026-05-07 09:03:38 +0000

    [phb][Uses]: Improve nodejs
    
    Update versions and arguments.
---
 documentation/content/en/books/porters-handbook/uses/_index.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 47b2b4a6b0..fa7827a1e0 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1952,11 +1952,12 @@ on package:devel/samurai[] instead.
 [[uses-nodejs]]
 == `nodejs`
 
-Possible arguments: (none), `build`, `run`, `current`, `lts`, `10`, `14`, `16`,
- `17`.
+Possible arguments: (none), `build`, `env`, `run`, `current`, `lts`, `20`, `22`, `24`, `25`, `26`.
 
 Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is
 specified then `run` and/or `build` must be specified too.
+The `env` argument sets the environment variables `NODEJS_VERSION` and `NODEJS_SUFFIX`.
+Currently `lts` is an alias for 24 and `current` is an alias for 26.
 
 [[uses-objc]]
 == `objc`
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.