blob: d9fe58b05544a8016f9785dcca33ab14a38c8c48 (
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
|
PORTNAME= keybase
PORTVERSION= 5.6.1
DISTVERSIONPREFIX= v
MASTER_SITES= https://github.com/keybase/client/releases/download/v${PORTVERSION}/
CATEGORIES= security
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Keybase.io client and Keybase Filesystem (KBFS)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
USES= go tar:xz
GO_BUILDFLAGS= -tags production
GO_PKGNAME= github.com/keybase/client/go
GO_TARGET= ${GO_PKGNAME}/keybase ${GO_PKGNAME}/kbfs/kbfsfuse ${GO_PKGNAME}/kbfs/kbfsgit/git-remote-keybase ${GO_PKGNAME}/kbfs/kbfstool
WRKSRC= ${WRKDIR}/client-v${PORTVERSION}/go
PLIST_FILES= bin/git-remote-keybase bin/kbfsfuse bin/kbfstool bin/keybase
post-patch:
@${REINPLACE_CMD} -e '/+build/ s|,amd64||' ${WRKSRC}/vendor/github.com/keybase/go-ps/process_freebsd.go
.include <bsd.port.mk>
|