Makefile 763 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.9 2017/05/27 19:57:07 ajacoutot Exp $
  2. COMMENT= secure secret storage
  3. GH_TAGNAME= v0.7.0
  4. GH_ACCOUNT= hashicorp
  5. GH_PROJECT= vault
  6. REVISION= 2
  7. CATEGORIES= security net
  8. HOMEPAGE= https://www.vaultproject.io/
  9. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  10. # MPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += c pthread
  13. MODULES= lang/go
  14. # go/src/github.com/hashicorp/vault/version/version.go
  15. MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.GitDescribe=${GH_TAGNAME:S/v//}
  16. MODGO_LDFLAGS += -X github.com/hashicorp/vault/version.VersionPrerelease="" # empty
  17. post-install:
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
  19. ${INSTALL_DATA} ${FILESDIR}/vault.hcl \
  20. ${PREFIX}/share/examples/vault
  21. .include <bsd.port.mk>