ports/sysutils/restic-rest-server/Makefile

26 lines
484 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = REST backend for the restic backup tool
MODGO_MODNAME = github.com/restic/rest-server
MODGO_VERSION = v0.12.1
DISTNAME = rest-server-${MODGO_VERSION}
PKGNAME = restic-${DISTNAME:S/-v/-/}
CATEGORIES = sysutils
MAINTAINER = Stuart Henderson <stu.ports@spacehopper.org>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MODULES = lang/go
do-install:
cp ${MODGO_WORKSPACE}/bin/rest-server ${PREFIX}/bin/restic-rest-server
.include "modules.inc"
.include <bsd.port.mk>