aboutsummaryrefslogtreecommitdiff
path: root/textproc/gron/Makefile
blob: 0f4c50bf58fdf3f26d9d1407304ffe5be3a21b9e (plain) (blame)
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=	gron
PORTVERSION=	0.6.1
PORTREVISION=	3
DISTVERSIONPREFIX=	v
CATEGORIES=	textproc

MAINTAINER=	zi@FreeBSD.org
COMMENT=	Transforms JSON into discrete assignments that are easier to grep
WWW=		https://github.com/tomnomnom/gron

LICENSE=	MIT

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	tomnomnom
GH_TUPLE=	fatih:color:v1.7.0:color/vendor/github.com/fatih/color \
		mattn:go-colorable:v0.1.1:colorable/vendor/github.com/mattn/go-colorable \
		mattn:go-isatty:v0.0.6:isatty/vendor/github.com/mattn/go-isatty \
		nwidger:jsoncolor:75a6de4:jsoncolor/vendor/github.com/nwidger/jsoncolor \
		pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors
GO_BUILDFLAGS=	-ldflags="-X main.gronVersion=${PORTVERSION}"

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>