mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
26 lines
558 B
Makefile
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>
|