blob: 25b1fc07b147736456041f856d5e98a13a1194ca (
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
|
# $NetBSD: Makefile,v 1.23 2018/02/27 12:32:35 fhajny Exp $
DISTNAME= vault-0.9.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
MAINTAINER= filip@joyent.com
HOMEPAGE= https://www.vaultproject.io/
COMMENT= Tool for managing secrets
LICENSE= mpl-2.0
GITHUB_TAG= v${PKGVERSION_NOREV}
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/hashicorp/vault
USE_TOOLS+= bash gmake
INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/vault ${DESTDIR}${PREFIX}/bin
do-test:
cd ${WRKSRC} && ${SETENV} GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go test -v ./vault
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|