Created attachment 275612 [details] Proposed patch While there also make the port to use official upstream tarball and fixed a few portclippy warnings.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0cb9935c27d882cfcb1f9dc064388064a7c4c53 commit e0cb9935c27d882cfcb1f9dc064388064a7c4c53 Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2026-10-12 01:14:04 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2026-10-27 06:05:07 +0000 www/npm*: Update to 12.2.0, use upstream distfile Fetch the official tarball from the npm registry instead of a re-rolled one on LOCAL/sunpoet, and create the installed layout (bin/ and node_modules/.bin symlinks, compressed manual pages, etc/man.d/npm.conf) in do-install. The package contents are unchanged. While here, sort variables as suggested by portclippy and drop a REINPLACE_CMD that did not modify anything. Changes: https://github.com/npm/cli/releases PR: ports/299324 Approved by: maintainer timeout www/npm-node24/Makefile | 48 ++++++++++++++++++++++++++++++++---------------- www/npm-node24/distinfo | 6 +++--- www/npm/Makefile | 2 +- 3 files changed, 36 insertions(+), 20 deletions(-)