1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

www/hedgedoc: switch NODEJS_VERSION to avoid compatibility with USES=node changes

This commit is contained in:
Dave Cottlehuber 2023-01-31 12:47:10 +00:00
parent f00bbf7a2e
commit 8c409b4838
2 changed files with 6 additions and 5 deletions

View File

@ -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 \

View File

@ -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