gonzalo 89e7641623 Update for Keybase to 2.11.0
OK abieber@ (maintainer)
2018-12-20 14:13:17 +00:00

46 lines
986 B
Makefile

# $OpenBSD: Makefile,v 1.14 2018/12/20 14:13:17 gonzalo Exp $
# go-ps only supports amd64 on OpenBSD
# ../vendor/github.com/keybase/go-ps/process.go:39: undefined: processes
# ../vendor/github.com/keybase/go-ps/process.go:47: undefined: findProcess
ONLY_FOR_ARCHS = amd64
COMMENT = client for keybase.io
# XXX: https://github.com/keybase/client/issues/10800
V = 2.11.0
GH_ACCOUNT = keybase
GH_PROJECT = client
GH_TAGNAME = v${V}
DISTNAME = keybase-${V}
CATEGORIES = security
HOMEPAGE = https://keybase.io
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
RUN_DEPENDS = security/gnupg2
WANTLIB += c pthread
WRKSRC = ${WRKDIR}/go/src/github.com/keybase/client
MODULES = lang/go
MODGO_TYPE = bin
MODGO_ENV = PATH="${PORTPATH}" HOME="${PORTHOME}"
NO_TEST = Yes
do-build:
cd ${WRKSRC}/go/keybase && ${MODGO_CMD} build -tags \
production
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/go/keybase/keybase ${PREFIX}/bin/
.include <bsd.port.mk>