forked from Lainports/freebsd-ports
===> Building for consul-replicate-0.4.0 WORK=/tmp/go-build989497025 /usr/local/go/src/net/http/h2_bundle.go:49:2: use of vendored package not allowed ../../../vendor/golang.org/x/net/http2/transport.go:31:2: use of vendored package not allowed *** Error code 1 - Remove custom targets PR: 240173 Submitted by: Dmitri Goutnik <dg@syrec.org> Pointy hat: jlaffaye
33 lines
702 B
Makefile
33 lines
702 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= consul-replicate
|
|
PORTVERSION= 0.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= Consul cross-DC KV replication daemon
|
|
|
|
LICENSE= MPL20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hashicorp
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_BUILDFLAGS= -ldflags="\
|
|
-X github.com/${GH_ACCOUNT}/${PORTNAME}/version.Version=${PORTVERSION} \
|
|
-X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitCommit=675a2c2 \
|
|
-X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitDescribe=v${PORTVERSION} \
|
|
"
|
|
|
|
USE_RC_SUBR= consul-replicate
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
USERS= consul
|
|
GROUPS= consul
|
|
|
|
.include <bsd.port.mk>
|