aboutsummaryrefslogtreecommitdiff
path: root/net/storj/Makefile
blob: 3c9a69a44d461eb97f1098dbc46685c9c3fe248a (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
30
PORTNAME=	storj
PORTVERSION=	1.62.3
DISTVERSIONPREFIX=	v
CATEGORIES=	net

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Decentralized cloud object storage
WWW=		https://storj.io/

LICENSE=	AGPLv3

USES=		go:1.18,modules
USE_GITHUB=	yes

.include "${.CURDIR}/Makefile.deps"

STORJ_CMDS=	certificates connect-test crashcollect identity inspector \
		metabase-orphaned-segments metabase-verify metric-receiver \
		multinode node-cleanup nullify-bad-user-agents satellite \
		storagenode storagenode-updater \
		storj-admin storj-sim uplink versioncontrol

GO_TARGET=	${STORJ_CMDS:S,^,./cmd/,}

post-stage:
# Avoid conflict with `graphics/mesa-demos'
	@${MV} ${STAGEDIR}${PREFIX}/bin/identity \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}-identity

.include <bsd.port.mk>