2019-07-26 14:01:54 +02:00
|
|
|
PORTNAME= rest-server
|
|
|
|
DISTVERSIONPREFIX= v
|
2022-03-01 23:41:35 +01:00
|
|
|
DISTVERSION= 0.11.0
|
2023-02-15 12:36:35 +01:00
|
|
|
PORTREVISION= 10
|
2019-07-26 14:01:54 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
|
|
COMMENT= Performant HTTP server for sysutils/restic backend API
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/restic/rest-server
|
2019-07-26 14:01:54 +02:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2020-10-19 17:20:16 +02:00
|
|
|
USES= go:modules
|
2019-07-26 14:01:54 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= restic
|
2022-03-01 23:41:35 +01:00
|
|
|
|
|
|
|
.include "${.CURDIR}/Makefile.deps"
|
2019-07-26 14:01:54 +02:00
|
|
|
|
|
|
|
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>
|