summaryrefslogtreecommitdiff
path: root/sysutils/rest-server/Makefile
blob: 6c37fa3ea391210ceb7f0b90caa6e05c51e2f0d5 (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
PORTNAME=	rest-server
DISTVERSIONPREFIX=	v
DISTVERSION=	0.13.0
PORTREVISION=	3
CATEGORIES=	sysutils

MAINTAINER=	dch@FreeBSD.org
COMMENT=	Performant HTTP server for sysutils/restic backend API
WWW=		https://github.com/restic/rest-server

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_RC_SUBR=	restserver
GO_MODULE=	github.com/restic/rest-server
GO_TARGET=	./cmd/rest-server

USERS=		restserver
GROUPS=		restserver

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>