git: 3a87e11e4d0a - main - editors/zed: Add instructions on remote development over ssh
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jan 2026 13:41:01 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a87e11e4d0a12098533c7656a453c0f1c415ed0
commit 3a87e11e4d0a12098533c7656a453c0f1c415ed0
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-01-03 13:39:12 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-01-03 13:40:46 +0000
editors/zed: Add instructions on remote development over ssh
While here, correct filename of remote server.
---
editors/zed/Makefile | 9 ++++++---
editors/zed/files/pkg-message.in | 37 +++++++++++++++++++++++++++++++++++++
editors/zed/pkg-message | 16 ----------------
3 files changed, 43 insertions(+), 19 deletions(-)
diff --git a/editors/zed/Makefile b/editors/zed/Makefile
index 0412f6578f57..fe0e0d9fadaa 100644
--- a/editors/zed/Makefile
+++ b/editors/zed/Makefile
@@ -1,7 +1,7 @@
PORTNAME= zed
DISTVERSIONPREFIX= v
DISTVERSION= 0.217.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors
PKGNAMESUFFIX= -editor
@@ -51,8 +51,11 @@ MAKE_ENV= APP_CLI="zedit" \
ZED_UPDATE_EXPLANATION="Please use packages/ports to update zed." \
RELEASE_VERSION="${DISTVERSION}"
+SUB_FILES= pkg-message
+SUB_LIST= DISTVERSION=${DISTVERSION}
+
PLIST_FILES= bin/zedit \
- bin/zed-remote-server-stable-${DISTVERSION} \
+ bin/zed-remote-server-stable-${DISTVERSION}+stable \
libexec/zed-editor \
share/applications/dev.zed.Zed.desktop \
share/icons/hicolor/1024x1024/apps/zed-editor.png \
@@ -76,7 +79,7 @@ do-install:
${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/release/cli \
${STAGEDIR}${PREFIX}/bin/zedit
${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/release/remote_server \
- ${STAGEDIR}${PREFIX}/bin/zed-remote-server-stable-${DISTVERSION}
+ ${STAGEDIR}${PREFIX}/bin/zed-remote-server-stable-${DISTVERSION}+stable
${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/release/zed \
${STAGEDIR}${PREFIX}/libexec/zed-editor
${INSTALL_DATA} ${WRKSRC}/crates/zed/resources/${PORTNAME}.desktop \
diff --git a/editors/zed/files/pkg-message.in b/editors/zed/files/pkg-message.in
new file mode 100644
index 000000000000..8f2c41981d45
--- /dev/null
+++ b/editors/zed/files/pkg-message.in
@@ -0,0 +1,37 @@
+[
+{ type: install
+ message: <<EOM
+Remote development over ssh:
+
+If you want to use remote development over ssh and a remote host runs
+FreeBSD, take the following steps:
+
+1. Create a directory for storing the remote server
+ $ ssh <remote-host> mkdir ~/.zed_server
+2. Upload the remote server to the remote host
+ $ scp %%PREFIX%%/bin/zed-remote-server-stable-%%DISTVERSION%%+stable <remote-host>:~/.zed_server
+
+Now you are all set for remote development.
+
+If your remote host runs Linux or macOS, remote development should
+work out of the box.
+
+General information on remote development is available at the
+following URL:
+- https://zed.dev/docs/remote-development
+
+Limitations on FreeBSD:
+
+Realtime collaboration features based on WebRTC are not yet
+supported. In addition, integrated terminal is very laggy (might
+depending on a user's environment).
+
+More information on Zed developments for FreeBSD is available at the
+following URLs:
+
+- https://zed.dev/docs/development/freebsd
+- https://github.com/zed-industries/zed/discussions/29550
+- https://github.com/zed-industries/zed/issues/15309
+EOM
+}
+]
diff --git a/editors/zed/pkg-message b/editors/zed/pkg-message
deleted file mode 100644
index ca8bcdc4c316..000000000000
--- a/editors/zed/pkg-message
+++ /dev/null
@@ -1,16 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Realtime collaboration features based on WebRTC are not yet
-supported. In addition, integrated terminal is very laggy (might
-depending on a user's environment).
-
-More information on Zed developments for FreeBSD is available at the
-following URLs:
-
-- https://zed.dev/docs/development/freebsd
-- https://github.com/zed-industries/zed/discussions/29550
-- https://github.com/zed-industries/zed/issues/15309
-EOM
-}
-]