git: 8c409b483844 - main - www/hedgedoc: switch NODEJS_VERSION to avoid compatibility with USES=node changes

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Tue, 31 Jan 2023 12:52:45 UTC
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c409b4838444b98cc32c0983e33996f01eb66b7

commit 8c409b4838444b98cc32c0983e33996f01eb66b7
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2023-01-31 12:47:10 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2023-01-31 12:51:58 +0000

    www/hedgedoc: switch NODEJS_VERSION to avoid compatibility with USES=node changes
---
 www/hedgedoc/Makefile | 9 +++++----
 www/hedgedoc/distinfo | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/www/hedgedoc/Makefile b/www/hedgedoc/Makefile
index 1c1fc22cee55..18956f27fac0 100644
--- a/www/hedgedoc/Makefile
+++ b/www/hedgedoc/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	hedgedoc
 DISTVERSION=	1.9.6
+PORTREVISION=	1
 CATEGORIES=	www editors
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ \
-		https://nodejs.org/download/release/v${NODEJS_VERSION}/:node \
+		https://nodejs.org/download/release/v${NODEJS_HEADERS}/:node \
 		LOCAL/dch:yarn
 DISTFILES+=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${_YARN_TARBALL}:yarn \
-		node-v${NODEJS_VERSION}-headers.tar.gz:node
+		node-v${NODEJS_HEADERS}-headers.tar.gz:node
 
 MAINTAINER=	dch@FreeBSD.org
 COMMENT=	Web-based online collaborative editor using your preferred SQL DB
@@ -34,7 +35,7 @@ PLIST_SUB+=	ARCH=${ARCH:S/aarch64/arm64/:S/amd64/x64/}
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-NODEJS_VERSION=	16.19.0
+NODEJS_HEADERS=	16.19.0
 
 _YARNRC=	${_YARN_HOME}/yarnrc
 _YARN_BIN=	${LOCALBASE}/bin/yarn
@@ -42,7 +43,7 @@ _YARN_CACHE=	${_YARN_HOME}/.cache
 _YARN_CMD=	${SETENV} ${_YARN_ENV} ${_YARN_BIN} ${_YARN_FLAGS}
 _YARN_CWD=	${WRKSRC}
 _YARN_ENV=	HOME=${_YARN_HOME} NODE_ENV=production \
-		NPM_CONFIG_TARBALL=${DISTDIR}/node-v${NODEJS_VERSION}-headers.tar.gz \
+		NPM_CONFIG_TARBALL=${DISTDIR}/node-v${NODEJS_HEADERS}-headers.tar.gz \
 		PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true PYTHON=${PYTHON_CMD}
 _YARN_FLAGS=	--skip-integrity-check --noninteractive --no-node-version-check \
 		--no-default-rc --cwd ${_YARN_CWD} --cache-folder \
diff --git a/www/hedgedoc/distinfo b/www/hedgedoc/distinfo
index 85e456fa4a87..d46f262ab951 100644
--- a/www/hedgedoc/distinfo
+++ b/www/hedgedoc/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1673868019
+TIMESTAMP = 1675169134
 SHA256 (hedgedoc-1.9.6.tar.gz) = dfd0fca006f9075f072df058476ea542adb32b63964afb2985211e1114ab333e
 SIZE (hedgedoc-1.9.6.tar.gz) = 61081612
 SHA256 (hedgedoc-1.9.6-yarn-cache.txz) = e281c71d06c226b8c67aee842d845a2fa148ffc8b1654753c383774d05c8ca80