mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 01:30:33 -04:00
API backend for the sysutils/restic backup software, enabling fast and easy network backups Approved by: jrm (mentor, implicit) Sponsored by: SkunkWerks, GmbH
31 lines
594 B
Makefile
31 lines
594 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rest-server
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.8
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= Performant HTTP server for sysutils/restic backend API
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= restic
|
|
|
|
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}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|