1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/sysutils/kopia/Makefile
Ashish SHUKLA a0676cbde9
all: Bump after lang/go122 update
MFH:		2024Q2
2024-05-13 17:56:04 +00:00

30 lines
742 B
Makefile

PORTNAME= kopia
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Fast and secure open-source backup/restore tool
WWW= https://kopia.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:1.22,modules
GO_MODULE= github.com/kopia/kopia
GO_BUILDFLAGS= -ldflags "\
-X github.com/kopia/kopia/repo.BuildVersion=${DISTVERSION} \
-X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`""
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
post-build:
${GO_WRKDIR_BIN}/${PORTNAME} --log-dir="" --help-man > ${WRKSRC}/${PORTNAME}.1
post-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>