Index: editors/gomate/Makefile =================================================================== --- editors/gomate/Makefile +++ 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 a ssh session in TextMate/VSCode + +LICENSE= MIT + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= mattn +GH_TAGNAME= 7008ee3057500672a7b3b28360b10d1b9288f2f7 + +PLIST_FILES= bin/$(GO_PKGNAME) + +.include Index: editors/gomate/distinfo =================================================================== --- editors/gomate/distinfo +++ 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: editors/gomate/pkg-descr =================================================================== --- editors/gomate/pkg-descr +++ editors/gomate/pkg-descr @@ -0,0 +1,5 @@ +An implementation of rmate in Go. Allows edititing files +from a ssh session in TextMate, VSCode, or any other editor +that supports the rmate. + +WWW: https://github.com/mattn/gomate Index: editors/gomate/pkg-message =================================================================== --- editors/gomate/pkg-message +++ editors/gomate/pkg-message @@ -0,0 +1,8 @@ +The gomate port has been installed. + +To remotely edit a file via a ssh session in TextMate, +VSCode, or any other editor that supports rmate, SSH into +this host with remote port forwarding: + +ssh -R 52698:127.0.0.1:52698 user@example.org \ + gomate /path/to/the/file.txt