Date: Sun, 4 Mar 2018 08:10:30 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463556 - in head/net-im: . slack-term slack-term/files Message-ID: <201803040810.w248AUeu082603@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Mar 4 08:10:30 2018 New Revision: 463556 URL: https://svnweb.freebsd.org/changeset/ports/463556 Log: 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 Added: head/net-im/slack-term/ head/net-im/slack-term/Makefile (contents, props changed) head/net-im/slack-term/distinfo (contents, props changed) head/net-im/slack-term/files/ head/net-im/slack-term/files/pkg-message.in (contents, props changed) head/net-im/slack-term/pkg-descr (contents, props changed) Modified: head/net-im/Makefile Modified: head/net-im/Makefile ============================================================================== --- head/net-im/Makefile Sun Mar 4 07:44:13 2018 (r463555) +++ head/net-im/Makefile Sun Mar 4 08:10:30 2018 (r463556) @@ -169,6 +169,7 @@ SUBDIR += skype SUBDIR += skype-devel SUBDIR += skype4 + SUBDIR += slack-term SUBDIR += teamwords SUBDIR += telegram SUBDIR += telegram-desktop Added: head/net-im/slack-term/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/slack-term/Makefile Sun Mar 4 08:10:30 2018 (r463556) @@ -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> Added: head/net-im/slack-term/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/slack-term/distinfo Sun Mar 4 08:10:30 2018 (r463556) @@ -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 Added: head/net-im/slack-term/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/slack-term/files/pkg-message.in Sun Mar 4 08:10:30 2018 (r463556) @@ -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. + +============================================================================== Added: head/net-im/slack-term/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/slack-term/pkg-descr Sun Mar 4 08:10:30 2018 (r463556) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803040810.w248AUeu082603>