opnsense-ports/sysutils/rest-server/Makefile
Franco Fichtner bc9fc2848c */*: sync with upstream
Taken from: FreeBSD
2023-04-11 09:42:51 +02:00

30 lines
592 B
Makefile

PORTNAME= rest-server
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
PORTREVISION= 13
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>