1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

irc/komanda-cli: fix build

This commit is contained in:
Mikael Urankar 2020-05-16 16:25:40 +00:00
parent 10c8e225c9
commit 2b0992ff1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535479
5 changed files with 0 additions and 118 deletions

View File

@ -51,56 +51,3 @@ post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
# $FreeBSD$
PORTNAME= komanda-cli
DISTVERSION= g20190920
CATEGORIES= irc
MAINTAINER= vulcan@wired.sh
COMMENT= Komanda command-line IRC client
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= mephux
GH_TAGNAME= b5ba03b
GH_TUPLE= 0xAX:notificator:d81462e38c21:0xax_notificator/vendor/github.com/0xAX/notificator \
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
alecthomas:units:c3de453c63f4:alecthomas_units/vendor/github.com/alecthomas/units \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
fluffle:goirc:v1.0.1:fluffle_goirc/vendor/github.com/fluffle/goirc \
golang:mock:v1.1.1:golang_mock/vendor/github.com/golang/mock \
golang:net:3b0461eec859:golang_net/vendor/golang.org/x/net \
golang:sys:953cdadca894:golang_sys/vendor/golang.org/x/sys \
hectane:go-nonblockingchan:v0.1.0:hectane_go_nonblockingchan/vendor/github.com/hectane/go-nonblockingchan \
jroimartin:gocui:v0.4.0:jroimartin_gocui/vendor/github.com/jroimartin/gocui \
konsorten:go-windows-terminal-sequences:v1.0.1:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
mephux:common:c3a670c8b76e:mephux_common/vendor/github.com/mephux/common \
nsf:termbox-go:93860e161317:nsf_termbox_go/vendor/github.com/nsf/termbox-go \
sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
worg:merger:94181de72ed1:worg_merger/vendor/github.com/worg/merger
_BUILD_SHA= ${GH_TAGNAME}
_BUILD_COUNT= 138
_BUILD_TAG= ${_BUILD_COUNT}.${_BUILD_SHA}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X main.Build=${_BUILD_TAG}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -37,42 +37,3 @@ SHA256 (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 67f2ddf467b7e63d2d2529d227946a331e2
SIZE (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 41373
SHA256 (worg-merger-94181de72ed1_GH0.tar.gz) = 04f760ec1d07264738553ccc4e77754382aaa43d803b52e43210ef99175c931f
SIZE (worg-merger-94181de72ed1_GH0.tar.gz) = 4563
TIMESTAMP = 1589640002
SHA256 (mephux-komanda-cli-g20190920-b5ba03b_GH0.tar.gz) = 73900ce20eb9cbb0ef50cf3b37fffdda902ddaeac549e8b8a7222513d28cd7de
SIZE (mephux-komanda-cli-g20190920-b5ba03b_GH0.tar.gz) = 1393222
SHA256 (0xAX-notificator-d81462e38c21_GH0.tar.gz) = 2f2ee6603a02f87aacd20a5fd47201572caeb5bd24cf27807e34fdff28d69ecd
SIZE (0xAX-notificator-d81462e38c21_GH0.tar.gz) = 39778
SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
SHA256 (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 4624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
SIZE (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 44383
SHA256 (alecthomas-template-fb15b899a751_GH0.tar.gz) = 2e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
SIZE (alecthomas-template-fb15b899a751_GH0.tar.gz) = 55339
SHA256 (alecthomas-units-c3de453c63f4_GH0.tar.gz) = b2eb77de46e677edb150bb4bf81d213416a477525980e315264cbd70b22d0ece
SIZE (alecthomas-units-c3de453c63f4_GH0.tar.gz) = 3485
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
SHA256 (fluffle-goirc-v1.0.1_GH0.tar.gz) = 05e1d03714c827dc88b4d04bb9380d37dc2d83f350dcee015fe8d4f1ba24493b
SIZE (fluffle-goirc-v1.0.1_GH0.tar.gz) = 141321
SHA256 (golang-mock-v1.1.1_GH0.tar.gz) = c705c0239c4ca21bdacf5e9391f9012937f6becfd97926ce28408ae53165122d
SIZE (golang-mock-v1.1.1_GH0.tar.gz) = 43394
SHA256 (golang-net-3b0461eec859_GH0.tar.gz) = a22a8864fdc90a79d953afad48ec799386daee4bfe93ecc50ccca4b77c2a9329
SIZE (golang-net-3b0461eec859_GH0.tar.gz) = 1099281
SHA256 (golang-sys-953cdadca894_GH0.tar.gz) = fb56f244784dac7e7f66fc0ff9f5ff6adbd49ccb8f3625285e6e39254b64c12f
SIZE (golang-sys-953cdadca894_GH0.tar.gz) = 1353286
SHA256 (hectane-go-nonblockingchan-v0.1.0_GH0.tar.gz) = f74986ddebd4a74687f8638f26e2ce7822c6f4d99dc786ffa05489a20e4936ec
SIZE (hectane-go-nonblockingchan-v0.1.0_GH0.tar.gz) = 2473
SHA256 (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 7dbb46356f9eee2d52c68cf664f9527cb7b84e746e61cc9000566a0b9eec8dec
SIZE (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 28376
SHA256 (konsorten-go-windows-terminal-sequences-v1.0.1_GH0.tar.gz) = e36c5a5de388bf72db3037b47f025b09e574be8d0bc74b3e44c960cba0880e87
SIZE (konsorten-go-windows-terminal-sequences-v1.0.1_GH0.tar.gz) = 1909
SHA256 (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 1973c2de25bc69c3786a00e8118f4d22aa0d040bdfe46c8c8c30419b23e53dfe
SIZE (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 19827
SHA256 (mephux-common-c3a670c8b76e_GH0.tar.gz) = 91652b403c66353031a2df078d87cdf872b44e5df5c15e95e08419bd58de3711
SIZE (mephux-common-c3a670c8b76e_GH0.tar.gz) = 12294
SHA256 (nsf-termbox-go-93860e161317_GH0.tar.gz) = b6b53b3ddc63fad46434f5eb173642898e320fca00ee264b6e7275eb81f5b2e4
SIZE (nsf-termbox-go-93860e161317_GH0.tar.gz) = 32772
SHA256 (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 67f2ddf467b7e63d2d2529d227946a331e245aeef7e2e4521ae82647b5ef84d9
SIZE (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 41373
SHA256 (worg-merger-94181de72ed1_GH0.tar.gz) = 04f760ec1d07264738553ccc4e77754382aaa43d803b52e43210ef99175c931f
SIZE (worg-merger-94181de72ed1_GH0.tar.gz) = 4563

View File

@ -9,14 +9,3 @@
version.Version, version.Build, version.Website),
),
)
--- komanda/ui/layout.go.orig 2020-05-15 19:20:57 UTC
+++ komanda/ui/layout.go
@@ -63,7 +63,7 @@ func Layout(g *gocui.Gui) error {
fmt.Fprintln(view, version.ColorLogo())
fmt.Fprintln(view, color.String(
config.C.Color.Green,
- fmt.Sprintf(" Version: %s%s Source Code: %s\n",
+ fmt.Sprintf(" Version: %s.%s Source Code: %s\n",
version.Version, version.Build, version.Website),
),
)

View File

@ -9,14 +9,3 @@
out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0)
if err != nil {
return err
--- vendor/github.com/nsf/termbox-go/api.go.orig 2020-05-15 19:17:07 UTC
+++ vendor/github.com/nsf/termbox-go/api.go
@@ -24,7 +24,7 @@ import "time"
func Init() error {
var err error
- if runtime.GOOS == "openbsd" {
+ if runtime.GOOS == "openbsd" || runtime.GOOS == "freebsd" {
out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0)
if err != nil {
return err

View File

@ -2,7 +2,3 @@ Sister app of komanda.io, an IRC
client for developers built in go.
WWW: https://github.com/mephux/komanda-cli
Sister app of komanda.io, an IRC
client for developers built in go.
WWW: https://github.com/mephux/komanda-cli