summaryrefslogtreecommitdiff
path: root/security/sops/Makefile
blob: 953b5d29a836b812f690ddfc1d4fac964a04fd27 (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
PORTNAME=	sops
DISTVERSIONPREFIX=	v
DISTVERSION=	3.7.3
PORTREVISION=	19
CATEGORIES=	security editors

MAINTAINER=	dmgk@FreeBSD.org
COMMENT=	Editor of encrypted files that supports YAML, JSON and BINARY formats
WWW=		https://github.com/mozilla/sops

LICENSE=	MPL20

USES=		go:modules

GO_MODULE=	go.mozilla.org/sops/v3
GO_TARGET=	./cmd/sops

PLIST_FILES=	bin/sops
PORTDOCS=	README.rst CHANGELOG.rst

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>