openbsd-ports/security/vault/Makefile

32 lines
751 B
Makefile
Raw Normal View History

2019-05-30 07:58:42 -04:00
# $OpenBSD: Makefile,v 1.25 2019/05/30 11:58:42 ajacoutot Exp $
COMMENT= secure secret storage
2019-05-30 07:58:42 -04:00
GH_TAGNAME= v1.1.2
GH_ACCOUNT= hashicorp
GH_PROJECT= vault
CATEGORIES= security net
HOMEPAGE= https://www.vaultproject.io/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c pthread
MODULES= lang/go
# go/src/github.com/hashicorp/vault/version/version.go
MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.GitDescribe=${GH_TAGNAME:S/v//}
MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.VersionPrerelease="" # empty
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
${INSTALL_DATA} ${FILESDIR}/vault.hcl \
${PREFIX}/share/examples/vault
.include <bsd.port.mk>