mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
27 lines
556 B
Makefile
27 lines
556 B
Makefile
PORTNAME= gojq
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.12.12
|
|
PORTREVISION= 1
|
|
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>
|