ports/textproc/gojq/Makefile
2022-10-06 14:24:26 -05:00

26 lines
558 B
Makefile

PORTNAME= gojq
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.8
PORTREVISION= 3
CATEGORIES= textproc
MAINTAINER= nork@ninth-nine.com
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>