openbsd-ports/sysutils/envconsul/Makefile
2022-10-05 16:31:52 +00:00

24 lines
581 B
Makefile

COMMENT= start subprocess with envvar populated from Consul and Vault
MODGO_MODNAME= github.com/hashicorp/envconsul
MODGO_VERSION= v0.13.1
DISTNAME= envconsul-${MODGO_VERSION}
CATEGORIES= sysutils
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MPLv2.0
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= lang/go
# go/src/github.com/hashicorp/envconsul/Makefile
MODGO_LDFLAGS += -X github.com/hashicorp/envconsul/version.Name=envconsul
MODGO_LDFLAGS += -X github.com/hashicorp/envconsul/version.GitCommit=${MODGO_VERSION}
.include "modules.inc"
.include <bsd.port.mk>