1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Define gronversion at build time

- Bump PORTREVISION

Submitted by:	Dmitri Goutnik <dg@syrec.org>
This commit is contained in:
Ryan Steinmetz 2019-03-02 13:36:30 +00:00
parent 2979413198
commit 491ff4e2bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494403

View File

@ -3,6 +3,7 @@
PORTNAME= gron
PORTVERSION= 0.6.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= textproc
@ -19,6 +20,7 @@ GH_TUPLE= fatih:color:v1.7.0:color \
mattn:go-isatty:v0.0.6:isatty \
nwidger:jsoncolor:75a6de4:jsoncolor \
pkg:errors:v0.8.1:pkg_errors
GO_BUILDFLAGS= -ldflags="-X main.gronVersion=${PORTVERSION}"
PLIST_FILES= bin/${PORTNAME}