summaryrefslogtreecommitdiff
path: root/net-im/discordo/Makefile
blob: 575ecbe508104ae963a675d902be6abd0b8bee8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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>