blob: ed8ff0cd7b0e3a802b40721eb1ac71c6d5643752 (
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
|
PORTNAME= rest-server
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
PORTREVISION= 11
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_GITHUB= yes
GH_ACCOUNT= restic
.include "${.CURDIR}/Makefile.deps"
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
USE_RC_SUBR= restserver
USERS= restserver
GROUPS= restserver
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|