forked from Lainports/freebsd-ports
29 lines
730 B
Makefile
29 lines
730 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= keybase
|
|
PORTVERSION= 4.5.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Keybase.io client and Keybase Filesystem (KBFS)
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
|
|
|
USES= go
|
|
|
|
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_SUBDIR= go
|
|
|
|
PLIST_FILES= bin/git-remote-keybase bin/kbfsfuse bin/kbfstool bin/keybase
|
|
|
|
GH_PROJECT= client
|
|
USE_GITHUB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/+build/ s|,amd64||' ${WRKSRC}/vendor/github.com/keybase/go-ps/process_freebsd.go
|
|
|
|
.include <bsd.port.mk>
|