mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
26 lines
474 B
Makefile
26 lines
474 B
Makefile
COMMENT= REST backend for the restic backup tool
|
|
|
|
MODGO_MODNAME= github.com/restic/rest-server
|
|
MODGO_VERSION= v0.14.0
|
|
|
|
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>
|