aboutsummaryrefslogtreecommitdiff
path: root/net/nats-nkeys/Makefile
blob: 907b1a097825c0efe5d961b0dab841ed30b7ac6b (plain) (blame)
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
29
PORTNAME=	nkeys
PORTVERSION=	0.3.0
DISTVERSIONPREFIX=	v
PORTREVISION=	10
CATEGORIES=	net
PKGNAMEPREFIX=	nats-

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Public-key signature system based on Ed25519 for the NATS ecosystem
WWW=		https://github.com/nats-io/nkeys

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_TARGET=	./nk
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
USE_GITHUB=	yes
GH_ACCOUNT=	nats-io
GH_TUPLE=	golang:crypto:e6e6c4f2bb5b:golang_crypto/vendor/golang.org/x/crypto

PLIST_FILES=	bin/nk \
		share/doc/${PORTNAME}/README.md

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>