blob: 8602b980c48011be10bd36555bc601217db19136 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PORTNAME= envconsul
PORTVERSION= 0.13.2
DISTVERSIONPREFIX= v
PORTREVISION= 8
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>
|