1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/security/ssh-vault/Makefile
Dmitri Goutnik 67c4b925b7 Go ports: cleanup, finish transition to USES=go started with r505321 (cat. misc-shells)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
- Switch to go:modules when upstream already uses them

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21743
2019-09-29 22:31:57 +00:00

29 lines
700 B
Makefile

# $FreeBSD$
PORTNAME= ssh-vault
PORTVERSION= 0.12.4
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= nbari@tequila.io
COMMENT= Encrypt/decrypt using ssh keys
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GH_TUPLE= golang:crypto:c126467:gocrypto/vendor/golang.org/x/crypto \
golang:sys:bd9dbc1:gosys/vendor/golang.org/x/sys \
ssh-vault:crypto:ae180e0:crypto/vendor/github.com/ssh-vault/crypto \
ssh-vault:ssh2pem:c1edc64:ssh2pem/vendor/github.com/ssh-vault/ssh2pem
GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME}
GO_BUILDFLAGS= -ldflags "-s -w -X main.version=${PORTVERSION}"
GO_TARGET= ./cmd/ssh-vault
PLIST_FILES= bin/ssh-vault
.include <bsd.port.mk>