summaryrefslogtreecommitdiff
path: root/editors/gomate
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-05-26 06:38:15 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-05-26 06:38:15 +0000
commit511b7b68c4c5a92e1272e989ffd2175c731ee93d (patch)
tree60f97da25f6007844c1d553c46132f2b31de1b51 /editors/gomate
parentaudio/soundconverter: fix configure with NLS option disabled (diff)
New port: editors/gomate
Gomate is an implementation of rmate in Go. It allows editing of files via an ssh session in TextMate, VSCode, or any other editor that supports rmate. WWW: https://github.com/mattn/gomate PR: 228486 Submitted by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> Differential Revision: https://reviews.freebsd.org/D15573
Notes
Notes: svn path=/head/; revision=470882
Diffstat (limited to 'editors/gomate')
-rw-r--r--editors/gomate/Makefile20
-rw-r--r--editors/gomate/distinfo3
-rw-r--r--editors/gomate/pkg-descr5
-rw-r--r--editors/gomate/pkg-message5
4 files changed, 33 insertions, 0 deletions
diff --git a/editors/gomate/Makefile b/editors/gomate/Makefile
new file mode 100644
index 000000000000..0887edc66c35
--- /dev/null
+++ b/editors/gomate/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= gomate
+DISTVERSION= g20170711
+CATEGORIES= editors
+
+MAINTAINER= fabian.freyer@physik.tu-berlin.de
+COMMENT= Edit files from an ssh session in TextMate/VSCode
+
+LICENSE= MIT
+
+USES= go
+
+USE_GITHUB= yes
+GH_ACCOUNT= mattn
+GH_TAGNAME= 7008ee3057500672a7b3b28360b10d1b9288f2f7
+
+PLIST_FILES= bin/gomate
+
+.include <bsd.port.mk>
diff --git a/editors/gomate/distinfo b/editors/gomate/distinfo
new file mode 100644
index 000000000000..d5782989b6b0
--- /dev/null
+++ b/editors/gomate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527262340
+SHA256 (mattn-gomate-g20170711-7008ee3057500672a7b3b28360b10d1b9288f2f7_GH0.tar.gz) = fba980ee5560edb204178ba6c2f39d0906296f366bd547b4fd3f48c339451f3e
+SIZE (mattn-gomate-g20170711-7008ee3057500672a7b3b28360b10d1b9288f2f7_GH0.tar.gz) = 1464
diff --git a/editors/gomate/pkg-descr b/editors/gomate/pkg-descr
new file mode 100644
index 000000000000..822450c87c65
--- /dev/null
+++ b/editors/gomate/pkg-descr
@@ -0,0 +1,5 @@
+Gomate is an implementation of rmate in Go. It allows editing of
+files via an ssh session in TextMate, VSCode, or any other editor
+that supports rmate.
+
+WWW: https://github.com/mattn/gomate
diff --git a/editors/gomate/pkg-message b/editors/gomate/pkg-message
new file mode 100644
index 000000000000..b20671e12446
--- /dev/null
+++ b/editors/gomate/pkg-message
@@ -0,0 +1,5 @@
+To remotely edit a file on this host connect via SSH with remote
+port forwarding:
+
+ssh -R 52698:127.0.0.1:52698 user@example.org \
+ gomate /path/to/the/file.txt