# $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 <bsd.port.mk>
TIMESTAMP = 1527262340
SHA256 (mattn-gomate-g20170711-7008ee3057500672a7b3b28360b10d1b9288f2f7_GH0.tar.gz) = fba980ee5560edb204178ba6c2f39d0906296f366bd547b4fd3f48c339451f3e
SIZE (mattn-gomate-g20170711-7008ee3057500672a7b3b28360b10d1b9288f2f7_GH0.tar.gz) = 1464
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
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