blob: a3694f8c5d5456d12e4e6d9816765e3ab738ed89 (
plain)
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
36
|
# $NetBSD: Makefile,v 1.8 2017/01/03 07:44:01 fhajny Exp $
DISTNAME= vault-0.6.4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
MAINTAINER= filip@joyent.com
HOMEPAGE= http://www.vaultproject.io/
COMMENT= Tool for managing secrets
LICENSE= mpl-2.0
GITHUB_TAG= v${PKGVERSION_NOREV}
WRKSRC= ${WRKDIR}/src/github.com/hashicorp/vault
.include "../../lang/go/version.mk"
BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
USE_TOOLS+= bash gmake
MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg
INSTALLATION_DIRS+= bin
post-extract:
${MKDIR} ${WRKSRC}
${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/vault
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/vault ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|