aboutsummaryrefslogtreecommitdiff
path: root/textproc/gron
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2019-09-29 22:34:31 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2019-09-29 22:34:31 +0000
commitfc95b3f0cf943e760e906eac92aac51eff4d0c1c (patch)
tree8b41993e1df35d7245f4013a2d3adcb758a276a1 /textproc/gron
parent67c4b925b7fd606361a2152563b80da493232dfb (diff)
downloadports-fc95b3f0cf943e760e906eac92aac51eff4d0c1c.tar.gz
ports-fc95b3f0cf943e760e906eac92aac51eff4d0c1c.zip
Notes
Diffstat (limited to 'textproc/gron')
-rw-r--r--textproc/gron/Makefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/textproc/gron/Makefile b/textproc/gron/Makefile
index 8f5dca3343f6..d58c5eba9c71 100644
--- a/textproc/gron/Makefile
+++ b/textproc/gron/Makefile
@@ -15,24 +15,13 @@ LICENSE= MIT
USES= go
USE_GITHUB= yes
GH_ACCOUNT= tomnomnom
-GH_TUPLE= fatih:color:v1.7.0:color \
- mattn:go-colorable:v0.1.1:colorable \
- mattn:go-isatty:v0.0.6:isatty \
- nwidger:jsoncolor:75a6de4:jsoncolor \
- pkg:errors:v0.8.1:pkg_errors
+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}
-pre-build:
- ${MKDIR} ${GO_WRKDIR_SRC}/github.com/fatih \
- ${GO_WRKDIR_SRC}/github.com/mattn \
- ${GO_WRKDIR_SRC}/github.com/pkg \
- ${GO_WRKDIR_SRC}/github.com/nwidger
- ${MV} ${WRKSRC_color} ${GO_WRKDIR_SRC}/github.com/fatih/color
- ${MV} ${WRKSRC_colorable} ${GO_WRKDIR_SRC}/github.com/mattn/go-colorable
- ${MV} ${WRKSRC_isatty} ${GO_WRKDIR_SRC}/github.com/mattn/go-isatty
- ${MV} ${WRKSRC_jsoncolor} ${GO_WRKDIR_SRC}/github.com/nwidger/jsoncolor
- ${MV} ${WRKSRC_pkg_errors} ${GO_WRKDIR_SRC}/github.com/pkg/errors
-
.include <bsd.port.mk>