git: 4747d3fcdd25 - main - net-im/discordo: Add new port

From: Lewis Cook <lcook_at_FreeBSD.org>
Date: Wed, 07 Sep 2022 20:52:41 UTC
The branch main has been updated by lcook:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4747d3fcdd2520f83b1274ba1e25087f031d4371

commit 4747d3fcdd2520f83b1274ba1e25087f031d4371
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2022-09-07 20:49:08 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2022-09-07 20:52:15 +0000

    net-im/discordo: Add new port
    
    Ligthweight and feature-rich terminal client
    for Discord.
    
    WWW: https://github.com/ayntgl/discordo
---
 net-im/Makefile           |  1 +
 net-im/discordo/Makefile  | 57 +++++++++++++++++++++++++++++++++++++++++++++++
 net-im/discordo/distinfo  | 51 ++++++++++++++++++++++++++++++++++++++++++
 net-im/discordo/pkg-descr |  4 ++++
 4 files changed, 113 insertions(+)

diff --git a/net-im/Makefile b/net-im/Makefile
index 5dc94eb8ff7f..ad54b37f7fb6 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -14,6 +14,7 @@
     SUBDIR += cutegram
     SUBDIR += dendrite
     SUBDIR += dino
+    SUBDIR += discordo
     SUBDIR += echat
     SUBDIR += ejabberd
     SUBDIR += farstream
diff --git a/net-im/discordo/Makefile b/net-im/discordo/Makefile
new file mode 100644
index 000000000000..575ecbe50810
--- /dev/null
+++ b/net-im/discordo/Makefile
@@ -0,0 +1,57 @@
+PORTNAME=	discordo
+DISTVERSION=	g20220907
+CATEGORIES=	net-im
+
+MAINTAINER=	lcook@FreeBSD.org
+COMMENT=	Lightweight, secure, and feature-rich Discord terminal client
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ayntgl
+GH_TAGNAME=	ab6f290
+GH_TUPLE=	alessio:shellescape:v1.4.1:alessio_shellescape/vendor/github.com/alessio/shellescape \
+		atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \
+		danieljoos:wincred:v1.1.2:danieljoos_wincred/vendor/github.com/danieljoos/wincred \
+		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
+		diamondburned:arikawa:v3.1.0:diamondburned_arikawa_v3/vendor/github.com/diamondburned/arikawa/v3 \
+		gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \
+		gdamore:tcell:v2.5.3:gdamore_tcell_v2/vendor/github.com/gdamore/tcell/v2 \
+		godbus:dbus:v5.1.0:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \
+		golang:sys:87db552b00fd:golang_sys/vendor/golang.org/x/sys \
+		golang:term:a9ba230a4035:golang_term/vendor/golang.org/x/term \
+		golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
+		golang:time:e5dcc9cfc0b9:golang_time/vendor/golang.org/x/time \
+		gorilla:schema:v1.2.0:gorilla_schema/vendor/github.com/gorilla/schema \
+		gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \
+		layeh:gopher-luar:v1.0.10:layeh_gopher_luar/vendor/layeh.com/gopher-luar \
+		lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
+		mattn:go-runewidth:v0.0.13:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
+		pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
+		rivo:tview:4664d8bf22d9:rivo_tview/vendor/github.com/rivo/tview \
+		rivo:uniseg:v0.3.4:rivo_uniseg/vendor/github.com/rivo/uniseg \
+		skratchdot:open-golang:eef842397966:skratchdot_open_golang/vendor/github.com/skratchdot/open-golang \
+		stretchr:testify:v1.7.2:stretchr_testify/vendor/github.com/stretchr/testify \
+		yuin:gopher-lua:658193537a64:yuin_gopher_lua/vendor/github.com/yuin/gopher-lua \
+		zalando:go-keyring:v0.2.1:zalando_go_keyring/vendor/github.com/zalando/go-keyring
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=		DOCS WAYLAND XCLIP
+OPTIONS_DEFAULT=	XCLIP
+
+WAYLAND_DESC=	Enable wayland clipboard support
+XCLIP_DESC=	Enable X11 clipboard support
+
+WAYLAND_RUN_DEPENDS=	wl-clipboard:x11/wl-clipboard
+XCLIP_RUN_DEPENDS=	xclip:x11/xclip
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/net-im/discordo/distinfo b/net-im/discordo/distinfo
new file mode 100644
index 000000000000..29d3d3158320
--- /dev/null
+++ b/net-im/discordo/distinfo
@@ -0,0 +1,51 @@
+TIMESTAMP = 1662582733
+SHA256 (ayntgl-discordo-g20220907-ab6f290_GH0.tar.gz) = 2b50a71c6dafa68973192c35de7a0c75b2917c1afc463422289021293bc7a133
+SIZE (ayntgl-discordo-g20220907-ab6f290_GH0.tar.gz) = 246507
+SHA256 (alessio-shellescape-v1.4.1_GH0.tar.gz) = ba08ce6af01fed809528363efdfa735c52770a9f0d550ea7a9ba6aebf0c7076a
+SIZE (alessio-shellescape-v1.4.1_GH0.tar.gz) = 7547
+SHA256 (atotto-clipboard-v0.1.4_GH0.tar.gz) = cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e
+SIZE (atotto-clipboard-v0.1.4_GH0.tar.gz) = 5017
+SHA256 (danieljoos-wincred-v1.1.2_GH0.tar.gz) = 38db02adceb3e539816b7fcae0a329ba3afde1e9d725750996057bca835e2fef
+SIZE (danieljoos-wincred-v1.1.2_GH0.tar.gz) = 10261
+SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
+SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
+SHA256 (diamondburned-arikawa-v3.1.0_GH0.tar.gz) = 05b1d5956235d9ee702ae89eb4473d6d440f1c96e9f1da1daab0955f1383986b
+SIZE (diamondburned-arikawa-v3.1.0_GH0.tar.gz) = 241923
+SHA256 (gdamore-encoding-v1.0.0_GH0.tar.gz) = 8fb8593a69cd86f16233d63dd6d74181136ec8f22900c509e961a25eb4b2e013
+SIZE (gdamore-encoding-v1.0.0_GH0.tar.gz) = 10886
+SHA256 (gdamore-tcell-v2.5.3_GH0.tar.gz) = 4ab7ba81273928dca1866f46472de2240dedec273d86c32bf9463a033761677a
+SIZE (gdamore-tcell-v2.5.3_GH0.tar.gz) = 162477
+SHA256 (godbus-dbus-v5.1.0_GH0.tar.gz) = 2f4939ab13a20178584ef534293abc5b6744bb5b6232432050c5a3ab2ab85fd7
+SIZE (godbus-dbus-v5.1.0_GH0.tar.gz) = 74080
+SHA256 (golang-sys-87db552b00fd_GH0.tar.gz) = dec73fd31110d117b12517bd9b924040461fcde57a0d299ce48f44d49cbf8b74
+SIZE (golang-sys-87db552b00fd_GH0.tar.gz) = 1357575
+SHA256 (golang-term-a9ba230a4035_GH0.tar.gz) = 202b5eb4d573d9ce2a99bdea822467376145fdd9fe1b33043adbd268f7bd674f
+SIZE (golang-term-a9ba230a4035_GH0.tar.gz) = 14841
+SHA256 (golang-text-v0.3.7_GH0.tar.gz) = 7cab2f6c3133ac1d422edd952b0dd2082fa55a73c2663fb2defd9bf83d649b26
+SIZE (golang-text-v0.3.7_GH0.tar.gz) = 8354718
+SHA256 (golang-time-e5dcc9cfc0b9_GH0.tar.gz) = cacda2f25be122b6bbe94b4c8bb56759e090b8b65ac2437b34e16ad6caf7399d
+SIZE (golang-time-e5dcc9cfc0b9_GH0.tar.gz) = 10853
+SHA256 (gorilla-schema-v1.2.0_GH0.tar.gz) = 5dbfdc9c3e9275a87f4768cc455db2832c10dc7f2b9703810ff635dbf87c6cf0
+SIZE (gorilla-schema-v1.2.0_GH0.tar.gz) = 23467
+SHA256 (gorilla-websocket-v1.5.0_GH0.tar.gz) = 5d86f9e1c76ff7ceca0747f78b79864fbaec9d440f4fdb03197466e5102a86b0
+SIZE (gorilla-websocket-v1.5.0_GH0.tar.gz) = 54155
+SHA256 (layeh-gopher-luar-v1.0.10_GH0.tar.gz) = da4da38c482d547ac47e7a58734420d9f1b43820775176a5ed4ae4ea4593d1ab
+SIZE (layeh-gopher-luar-v1.0.10_GH0.tar.gz) = 24395
+SHA256 (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = b3ee835cc398287452377266313edcc231043bae4168f8d2706e5d34ce1ce755
+SIZE (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 970830
+SHA256 (mattn-go-runewidth-v0.0.13_GH0.tar.gz) = 9b2aeafa5d95a40b32067ba22accdf42cc83414ec5b433ea7de330791beaa196
+SIZE (mattn-go-runewidth-v0.0.13_GH0.tar.gz) = 17353
+SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
+SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
+SHA256 (rivo-tview-4664d8bf22d9_GH0.tar.gz) = caf8f4b69ac00c34ac7904b1f4d2611fa249194f67b9b6c8f3e5217d69406233
+SIZE (rivo-tview-4664d8bf22d9_GH0.tar.gz) = 3028556
+SHA256 (rivo-uniseg-v0.3.4_GH0.tar.gz) = cf1ec50e7dea995994f69c9ef038d1f8df17866edbdbf84b2f29fd7665f4e627
+SIZE (rivo-uniseg-v0.3.4_GH0.tar.gz) = 438821
+SHA256 (skratchdot-open-golang-eef842397966_GH0.tar.gz) = 2f4768d8cbe725d4ceafc8d34fd9e765aa98a94bfeec30202129634e340899a5
+SIZE (skratchdot-open-golang-eef842397966_GH0.tar.gz) = 7070
+SHA256 (stretchr-testify-v1.7.2_GH0.tar.gz) = 4714e9f37e4a46b461c49638ce0625db330d3c7ebcbde07e06cf4fcc1418fc48
+SIZE (stretchr-testify-v1.7.2_GH0.tar.gz) = 94021
+SHA256 (yuin-gopher-lua-658193537a64_GH0.tar.gz) = ef619d7bcf584ae626eb6cb539eb34a611e0c132d172fe90e99596dc4890ab89
+SIZE (yuin-gopher-lua-658193537a64_GH0.tar.gz) = 164827
+SHA256 (zalando-go-keyring-v0.2.1_GH0.tar.gz) = e8e08c609e707e6f3746fec1ac08e167fc84b35c6a05f7c7f1d7c92b8158d6cd
+SIZE (zalando-go-keyring-v0.2.1_GH0.tar.gz) = 10752
diff --git a/net-im/discordo/pkg-descr b/net-im/discordo/pkg-descr
new file mode 100644
index 000000000000..38d14e90c371
--- /dev/null
+++ b/net-im/discordo/pkg-descr
@@ -0,0 +1,4 @@
+Ligthweight and feature-rich terminal client
+for Discord.
+
+WWW: https://github.com/ayntgl/discordo