Files

30 lines
620 B
Makefile
Raw Permalink Normal View History

2021-10-15 10:53:41 +00:00
COMMENT = simple tool for managing encrypted backups in the cloud
2026-05-12 14:33:27 +00:00
V = 0.23.0
2021-10-15 10:53:41 +00:00
MODGO_MODNAME = github.com/kopia/kopia
2022-01-16 17:51:06 +00:00
MODGO_VERSION = v${V}
2021-12-27 11:47:21 +00:00
2022-01-16 17:51:06 +00:00
MODGO_LDFLAGS += -X github.com/kopia/kopia/repo.BuildVersion=${V} \
2021-12-27 11:47:21 +00:00
-X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`" \
-X github.com/kopia/kopia/repo.BuildGitHubRepo="OpenBSD/ports"
2021-10-15 10:53:41 +00:00
DISTNAME = kopia-${MODGO_VERSION}
CATEGORIES = sysutils
HOMEPAGE = https://kopia.io/
MAINTAINER = Denis Fondras <denis@openbsd.org>
# Apache-2.0 License
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MODULES = lang/go
USE_GMAKE = Yes
.include "modules.inc"
.include <bsd.port.mk>