New port: net-im/slack-term: Slack client for your terminal

PR:		226332
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14577
This commit is contained in:
Yuri Victorovich 2018-03-04 08:10:30 +00:00
parent 4c26f3eadd
commit 1998171b22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463556
5 changed files with 62 additions and 0 deletions

View File

@ -169,6 +169,7 @@
SUBDIR += skype
SUBDIR += skype-devel
SUBDIR += skype4
SUBDIR += slack-term
SUBDIR += teamwords
SUBDIR += telegram
SUBDIR += telegram-desktop

View File

@ -0,0 +1,40 @@
# $FreeBSD$
PORTNAME= slack-term
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.2
CATEGORIES= net-im
MAINTAINER= dg@syrec.org
COMMENT= Slack client for your terminal
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go:lang/go
USE_GITHUB= yes
GH_ACCOUNT= erroneousboat
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
PORTDOCS= README.md
PLIST_FILES= bin/slack-term
OPTIONS_DEFINE= DOCS
do-build:
@cd ${WRKSRC}/${GH_SUBDIR} && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1520092585
SHA256 (erroneousboat-slack-term-v0.3.2_GH0.tar.gz) = c46306ece42032ef64ae45399b6aff450575656a870ca4dd53561cad7f29a429
SIZE (erroneousboat-slack-term-v0.3.2_GH0.tar.gz) = 221460

View File

@ -0,0 +1,14 @@
==============================================================================
To do the initial %%PORTNAME%% configuration, get a Slack token from
https://api.slack.com/docs/oauth-test-tokens and create ~/slack-term.json with
the following format:
{
"slack_token": "yourslacktokenhere"
}
See %%DOCSDIR%%/README.md or the online documentation for more configuration
options.
==============================================================================

View File

@ -0,0 +1,4 @@
slack-term is a terminal-based Slack client with configurable key mappings
and customizable theme.
WWW: https://github.com/erroneousboat/slack-term