opnsense-ports/sysutils/rest-server/Makefile
Franco Fichtner 85a073a62c */*: sync with upstream
Taken from: FreeBSD
2024-05-14 14:28:57 +02:00

29 lines
590 B
Makefile

PORTNAME= rest-server
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.1
PORTREVISION= 4
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
USE_RC_SUBR= restserver
.include "${.CURDIR}/Makefile.deps"
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
USERS= restserver
GROUPS= restserver
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>