summaryrefslogtreecommitdiff
path: root/sysutils/zfs-snap-diff/Makefile
blob: 52aac3a68e33b2b0e452b8d377abb7f3726e0c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	zfs-snap-diff
PORTVERSION=	1.1.3
DISTVERSIONPREFIX=	v
PORTREVISION=	20
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	View ZFS snapshot differences via a web browser
WWW=		https://github.com/j-keck/zfs-snap-diff

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_GITHUB=	yes
GH_ACCOUNT=	j-keck
GH_TUPLE=	BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
		j-keck:go-diff:v1.0.0:j_keck_go_diff/vendor/github.com/j-keck/go-diff \
		j-keck:plog:v0.7.0:j_keck_plog/vendor/github.com/j-keck/plog

PLIST_FILES=	bin/zfs-snap-diff

GO_BUILDFLAGS=	-ldflags="-X main.version=${DISTVERSIONPREFIX}${PORTVERSION}"

GO_TARGET=	./cmd/zfs-snap-diff

.include <bsd.port.mk>