blob: 0d6e625222af902f48f57f5982bcf6bc63eaaad9 (
plain) (
tree)
|
|
PORTNAME= gojq
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.14
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 <bsd.port.mk>
|