1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00
Files
2026-05-09 13:25:51 -04:00

36 lines
757 B
Makefile

PORTNAME= envconsul
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.4
PORTREVISION= 11
CATEGORIES= sysutils
MAINTAINER= bofh@FreeBSD.org
COMMENT= Populate values from Consul into a process environment
WWW= https://github.com/hashicorp/envconsul
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/hashicorp/${PORTNAME}
GO_BUILDFLAGS= -ldflags='\
-s -w \
-X github.com/hashicorp/envconsul/version.Name=${PORTNAME} \
-X github.com/hashicorp/envconsul/version.GitCommit=${GHTAG}'
PLIST_FILES= bin/envconsul
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
GHTAG= 300afa6
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${CP} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>