summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2023-03-16 14:36:47 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2023-03-16 14:38:36 +0900
commitd9bec590ba8d51be6c8597afea950b30cdf65d70 (patch)
tree65bf2a249e434157f07d7eff0ff3dcfe3636ae17
parent13c85451c8580f4e9cc989bdf9b315758db3803a (diff)
downloadfreebsd-ports-d9bec590ba8d51be6c8597afea950b30cdf65d70.zip
editors/vscode: update to 1.76.2
While here, remove unnecessary distfiles and post-extract target. Changelog: https://code.visualstudio.com/updates/v1_76 Reported by: GitHub (watch releases)
-rw-r--r--editors/vscode/Makefile29
-rw-r--r--editors/vscode/distinfo18
2 files changed, 11 insertions, 36 deletions
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index 58d1ddb9a9fe..6479c2fd137b 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,19 +1,12 @@
PORTNAME= vscode
-DISTVERSION= 1.76.1
+DISTVERSION= 1.76.2
CATEGORIES= editors
-MASTER_SITES= https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \
- https://nodejs.org/dist/v${NODE_VER}/:node_headers \
+MASTER_SITES= https://nodejs.org/dist/v${NODE_VER}/:node_headers \
https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache
-DISTFILES= esbuild-freebsd-64-${ESBUILD_VER_BUILD}.tgz:esbuild_binary \
- esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}.tgz:esbuild_binary \
- node-v${NODE_VER}-headers${EXTRACT_SUFX}:node_headers \
+DISTFILES= node-v${NODE_VER}-headers${EXTRACT_SUFX}:node_headers \
yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \
vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache
DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \
- node-v${NODE_VER}-headers${EXTRACT_SUFX} \
- yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX} \
- vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Visual Studio Code - Open Source ("Code - OSS")
@@ -71,7 +64,7 @@ USES= desktop-file-utils gl gmake gnome iconv jpeg pkgconfig \
USE_GITHUB= yes
GH_ACCOUNT= microsoft
-SOURCE_COMMIT_HASH= 5e805b79fcb6ba4c2d23712967df89a089da575b
+SOURCE_COMMIT_HASH= ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
BINARY_ALIAS= python=${PYTHON_CMD}
@@ -121,20 +114,6 @@ pre-everything::
@${ECHO_MSG} "MAX_FILES_${PORTNAME}=4096"
@${ECHO_MSG} ""
-post-extract:
- # setup download cache for esbuild binary
- ${MKDIR} ${WRKDIR}/.cache/esbuild/bin
- ${MKDIR} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}
- ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}.tgz \
- -C ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}
- ${MV} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}/package/bin/esbuild \
- ${WRKDIR}/.cache/esbuild/bin/esbuild-freebsd-64@${ESBUILD_VER_BUILD}
- ${MKDIR} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}
- ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}.tgz \
- -C ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}
- ${MV} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}/package/bin/esbuild \
- ${WRKDIR}/.cache/esbuild/bin/esbuild-freebsd-64@${ESBUILD_VER_EXTENSIONS}
-
post-patch:
# force use of electron version matching port one
${REINPLACE_CMD} -E 's|^(target ").*(")$$|\1${ELECTRON_VER}\2|' \
diff --git a/editors/vscode/distinfo b/editors/vscode/distinfo
index 2c7249970be5..de3e8eb6cffe 100644
--- a/editors/vscode/distinfo
+++ b/editors/vscode/distinfo
@@ -1,13 +1,9 @@
-TIMESTAMP = 1678412902
-SHA256 (vscode/esbuild-freebsd-64-0.15.5.tgz) = d85ff4d09eef7a6f7513ff575cbee9df9c3c41215a1f530678f61fc9b6b43b87
-SIZE (vscode/esbuild-freebsd-64-0.15.5.tgz) = 3585090
-SHA256 (vscode/esbuild-freebsd-64-0.15.14.tgz) = 23657fcc798d637897bd341830d27b0f4f687694a3f288a0708389dd04318091
-SIZE (vscode/esbuild-freebsd-64-0.15.14.tgz) = 3601675
+TIMESTAMP = 1678932948
SHA256 (vscode/node-v16.14.2-headers.tar.gz) = 505e1c287e55bb8ec25d2e20d7d87a57b0c2666e1aa7064e0661ad76b60db594
SIZE (vscode/node-v16.14.2-headers.tar.gz) = 562716
-SHA256 (vscode/yarn-offline-cache-1.76.1.tar.gz) = 28776dcd25a067f9d1d6a0db23a47cdc76127e13508757fb8d7ca9feb2acbc7a
-SIZE (vscode/yarn-offline-cache-1.76.1.tar.gz) = 401722693
-SHA256 (vscode/vscode-marketplace-exts-1.76.1.tar.gz) = f48b607d155a773d5c7c22dad7fd51398eaffb56f155b0fdf25148cad7d155bc
-SIZE (vscode/vscode-marketplace-exts-1.76.1.tar.gz) = 1728242
-SHA256 (vscode/microsoft-vscode-1.76.1_GH0.tar.gz) = e1e5210ab986d5e86cf74d9a32f3def3b85ee6175a708af06cd2f3a5bd084e58
-SIZE (vscode/microsoft-vscode-1.76.1_GH0.tar.gz) = 16445513
+SHA256 (vscode/yarn-offline-cache-1.76.2.tar.gz) = 11d0275419ba030be66f756ca35ea31de4b88795f16f42b1831f5f399b1a63b8
+SIZE (vscode/yarn-offline-cache-1.76.2.tar.gz) = 401722362
+SHA256 (vscode/vscode-marketplace-exts-1.76.2.tar.gz) = 6911816a35393d657a5e077f781e328e04563c75a78283398e994b0caa060669
+SIZE (vscode/vscode-marketplace-exts-1.76.2.tar.gz) = 1726399
+SHA256 (vscode/microsoft-vscode-1.76.2_GH0.tar.gz) = f68b35c96f85a30e5f69e5119a183113433c2a47c08a2d639329e4c01cf0d7f4
+SIZE (vscode/microsoft-vscode-1.76.2_GH0.tar.gz) = 16445142