Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132904196
D14577.id39920.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D14577.id39920.diff
View Options
Index: net-im/Makefile
===================================================================
--- net-im/Makefile
+++ net-im/Makefile
@@ -169,6 +169,7 @@
SUBDIR += skype
SUBDIR += skype-devel
SUBDIR += skype4
+ SUBDIR += slack-term
SUBDIR += teamwords
SUBDIR += telegram
SUBDIR += telegram-desktop
Index: net-im/slack-term/Makefile
===================================================================
--- /dev/null
+++ net-im/slack-term/Makefile
@@ -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>
Index: net-im/slack-term/distinfo
===================================================================
--- /dev/null
+++ net-im/slack-term/distinfo
@@ -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
Index: net-im/slack-term/files/pkg-message.in
===================================================================
--- /dev/null
+++ net-im/slack-term/files/pkg-message.in
@@ -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.
+
+==============================================================================
Index: net-im/slack-term/pkg-descr
===================================================================
--- /dev/null
+++ net-im/slack-term/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 1:11 AM (7 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24035475
Default Alt Text
D14577.id39920.diff (2 KB)
Attached To
Mode
D14577: New port: net-im/slack-term: Slack client for your terminal
Attached
Detach File
Event Timeline
Log In to Comment