30 lines
665 B
Makefile
30 lines
665 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= storj
|
|
PORTVERSION= 1.6.4
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Decentralized cloud object storage
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
USES= go:modules
|
|
USE_GITHUB= yes
|
|
|
|
.include "${.CURDIR}/Makefile.deps"
|
|
|
|
STORJ_CMDS= certificates identity inspector satellite segment-reaper \
|
|
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>
|