1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/sysutils/consul-replicate/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

32 lines
689 B
Makefile

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>