aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ttyd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-11-23 12:44:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-11-23 12:44:38 +0000
commitc9e5b0da2c7f6a3df13a274b6b410d835805742f (patch)
treebb31d0b4a0c0a06b39300b4454d1718bca74a9d3 /sysutils/ttyd
parent7e06413d150c0c0fd9a61bafcfe8da906884c2bf (diff)
downloadports-c9e5b0da2c7f6a3df13a274b6b410d835805742f.tar.gz
ports-c9e5b0da2c7f6a3df13a274b6b410d835805742f.zip
Add ttyd:
ttyd is a simple command-line tool for sharing terminal over the web, inspired by GoTTY. WWW: https://www.github.com/tsl0922/ttyd PR: 213503 Submitted by: Neel Chauhan <neel@neelc.org>
Notes
Notes: svn path=/head/; revision=426907
Diffstat (limited to 'sysutils/ttyd')
-rw-r--r--sysutils/ttyd/Makefile26
-rw-r--r--sysutils/ttyd/distinfo3
-rw-r--r--sysutils/ttyd/pkg-descr4
3 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/ttyd/Makefile b/sysutils/ttyd/Makefile
new file mode 100644
index 000000000000..dd880197f8fc
--- /dev/null
+++ b/sysutils/ttyd/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= ttyd
+PORTVERSION= 1.2.0
+CATEGORIES= sysutils
+
+MAINTAINER= neel@neelc.org
+COMMENT= Program to share your terminal over the web
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= xxd:editors/vim-lite
+LIB_DEPENDS= libjson-c.so:devel/json-c \
+ libwebsockets.so:net/libwebsockets
+
+USE_GITHUB= yes
+GH_ACCOUNT= tsl0922
+
+USES= cmake pkgconfig ssl
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttyd ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/ttyd/distinfo b/sysutils/ttyd/distinfo
new file mode 100644
index 000000000000..bb425db1b47b
--- /dev/null
+++ b/sysutils/ttyd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479470581
+SHA256 (tsl0922-ttyd-1.2.0_GH0.tar.gz) = 00f8399a1045057a55a5a5dd2540bfbf39df972ad0c1c2a9e3bc94574514c9bd
+SIZE (tsl0922-ttyd-1.2.0_GH0.tar.gz) = 177550
diff --git a/sysutils/ttyd/pkg-descr b/sysutils/ttyd/pkg-descr
new file mode 100644
index 000000000000..5ec406c3fa67
--- /dev/null
+++ b/sysutils/ttyd/pkg-descr
@@ -0,0 +1,4 @@
+ttyd is a simple command-line tool for sharing terminal over the web, inspired
+by GoTTY.
+
+WWW: https://www.github.com/tsl0922/ttyd