opnsense-ports/sysutils/envconsul/Makefile
Franco Fichtner 85a073a62c */*: sync with upstream
Taken from: FreeBSD
2024-05-14 14:28:57 +02:00

35 lines
756 B
Makefile

PORTNAME= envconsul
PORTVERSION= 0.13.2
DISTVERSIONPREFIX= v
PORTREVISION= 7
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= dd416ce
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${CP} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>