Index: head/editors/Makefile =================================================================== --- head/editors/Makefile +++ head/editors/Makefile @@ -51,6 +51,7 @@ SUBDIR += gmanedit SUBDIR += gnotepad+ SUBDIR += gobby + SUBDIR += gomate SUBDIR += gwrite SUBDIR += heme SUBDIR += hexcurse Index: head/editors/gomate/Makefile =================================================================== --- head/editors/gomate/Makefile +++ head/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 Index: head/editors/gomate/distinfo =================================================================== --- head/editors/gomate/distinfo +++ head/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 Index: head/editors/gomate/pkg-descr =================================================================== --- head/editors/gomate/pkg-descr +++ head/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 Index: head/editors/gomate/pkg-message =================================================================== --- head/editors/gomate/pkg-message +++ head/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