1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/textproc/gron/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

28 lines
780 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= gron
PORTVERSION= 0.6.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= zi@FreeBSD.org
COMMENT= Transforms JSON into discrete assignments that are easier to grep
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>