aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING8
-rw-r--r--net-im/slack-term/Makefile13
-rw-r--r--net-im/slack-term/distinfo6
-rw-r--r--net-im/slack-term/files/pkg-message.in6
4 files changed, 22 insertions, 11 deletions
diff --git a/UPDATING b/UPDATING
index 33c4baf997a5..83773c6d56b0 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,14 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20200316:
+ AFFECTS: users of net-im/slack-term
+ AUTHOR: dmgk@FreeBSD.org
+
+ The config file location was changed from ~/.slack-term to
+ ~/.config/slack-term/config, please move your existing config file
+ accordingly.
+
20200308
AFFECTS: users of graphics/mesa-libs and legacy graphics drivers
AUTHOR: zeising@FreeBSD.org
diff --git a/net-im/slack-term/Makefile b/net-im/slack-term/Makefile
index 136def494aef..8affd94b9f17 100644
--- a/net-im/slack-term/Makefile
+++ b/net-im/slack-term/Makefile
@@ -2,8 +2,7 @@
PORTNAME= slack-term
DISTVERSIONPREFIX= v
-DISTVERSION= 0.4.1
-PORTREVISION= 1
+DISTVERSION= 0.5.0
CATEGORIES= net-im
MAINTAINER= dmgk@FreeBSD.org
@@ -12,7 +11,7 @@ COMMENT= Slack client for your terminal
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= erroneousboat
@@ -21,12 +20,16 @@ GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
-PORTDOCS= README.md
-
PLIST_FILES= bin/slack-term
+PORTDOCS= README.md
+
OPTIONS_DEFINE= DOCS
+post-patch:
+ @cd ${WRKSRC}/vendor/github.com/OpenPeeDeeP/xdg && \
+ ${RLN} xdg_linux.go xdg_freebsd.go
+
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/net-im/slack-term/distinfo b/net-im/slack-term/distinfo
index 216fd28593ee..cc9b2fb15222 100644
--- a/net-im/slack-term/distinfo
+++ b/net-im/slack-term/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1547912587
-SHA256 (erroneousboat-slack-term-v0.4.1_GH0.tar.gz) = 6bc6bf2e74444f99eedeb1c34b06f1fc8b638e9db115c4ef0ea993a3577fa39a
-SIZE (erroneousboat-slack-term-v0.4.1_GH0.tar.gz) = 245741
+TIMESTAMP = 1584361670
+SHA256 (erroneousboat-slack-term-v0.5.0_GH0.tar.gz) = 089cf10a3959c99b73da1d5ad974f2cd076a56851ef9ffd97a77350a81e527f0
+SIZE (erroneousboat-slack-term-v0.5.0_GH0.tar.gz) = 540745
diff --git a/net-im/slack-term/files/pkg-message.in b/net-im/slack-term/files/pkg-message.in
index b851038635ce..8fad5c4d92f7 100644
--- a/net-im/slack-term/files/pkg-message.in
+++ b/net-im/slack-term/files/pkg-message.in
@@ -3,14 +3,14 @@
message: <<EOM
To do the initial %%PORTNAME%% configuration, get a Slack token from
https://api.slack.com/custom-integrations/legacy-tokens and create
-~/.slack-term with the following format:
+~/.config/slack-term/config with the following format:
{
"slack_token": "yourslacktokenhere"
}
-See %%DOCSDIR%%/README.md or the online documentation
-for more configuration options.
+See %%DOCSDIR%%/README.md or the online documentation for more configuration
+options.
EOM
}
]