PORTNAME= gojq DISTVERSIONPREFIX= v DISTVERSION= 0.12.12 PORTREVISION= 4 CATEGORIES= textproc MAINTAINER= nork@FreeBSD.org COMMENT= Pure Go implementation of jq WWW= https://github.com/itchyny/gojq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/itchyny/gojq GO_TARGET= ./cmd/gojq PLIST_FILES= bin/gojq \ share/zsh/site-functions/_gojq post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/_gojq ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ .include