summaryrefslogtreecommitdiff
path: root/sysutils/zfs-snap-diff/Makefile
blob: 6d351abf47e71ac2f88d3885befcb9a1061e2134 (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
PORTNAME=	zfs-snap-diff
PORTVERSION=	1.1.1
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	ben.lavery@hashbang0.com
COMMENT=	View ZFS snapshot differences via a web browser

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>