summaryrefslogtreecommitdiff
path: root/www/tusc/Makefile
blob: 61e7b91aa1dec282cd29c20e2771170714cf9743 (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
28
29
30
31
32
33
34
35
36
PORTNAME=	tusc
DISTVERSION=	0.4.7
PORTREVISION=	20
CATEGORIES=	www

MAINTAINER=	osa@FreeBSD.org
COMMENT=	TUS Command line client and server
WWW=		https://github.com/jackhftang/tusc

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

USE_GITHUB=	yes
GH_ACCOUNT=	jackhftang
GH_TUPLE=	\
		Acconut:lockfile:v1.1.0:acconut_lockfile/vendor/gopkg.in/Acconut/lockfile.v1 \
		bmizerany:pat:6226ea591a40:bmizerany_pat/vendor/github.com/bmizerany/pat \
		docopt:docopt.go:ee0de3bc6815:docopt_docopt_go/vendor/github.com/docopt/docopt_go \
		dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
		eventials:go-tus:9db47421f6a0:eventials_go_tus/vendor/github.com/eventials/go-tus \
		golang:net:da137c7871d7:golang_net/vendor/golang.org/x/net \
		golang:snappy:2e65f85255db:golang_snappy/vendor/github.com/golang/snappy \
		syndtr:goleveldb:v1.0.0:syndtr_goleveldb/vendor/github.com/syndtr/goleveldb \
		tus:tusd:30811b6579c5:tus_tusd/vendor/github.com/tus/tusd

GO_TARGET=	cmd/tusc.go:tusc

PLIST_FILES=	bin/tusc

post-extract:
	( cd ${WRKSRC} && ${MV} vendor/github.com/docopt/docopt_go \
		vendor/github.com/docopt/docopt-go )

.include <bsd.port.mk>