mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
ece71578ab
PR: 216925 Submitted by: ghostonthewire at gmail
26 lines
468 B
Makefile
26 lines
468 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= restic
|
|
PORTVERSION= 0.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
COMMENT= Restic backup program
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
|
|
STRIP= # stripping can break go binaries
|
|
PLIST_FILES= bin/restic
|
|
|
|
do-build:
|
|
@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run build.go)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|