Page MenuHomeFreeBSD

D33204.id99276.diff
No OneTemporary

D33204.id99276.diff

Index: textproc/Makefile
===================================================================
--- textproc/Makefile
+++ textproc/Makefile
@@ -235,6 +235,7 @@
SUBDIR += gnugrep
SUBDIR += go-md2man
SUBDIR += go-yq
+ SUBDIR += gojq
SUBDIR += goldendict
SUBDIR += google-ctemplate
SUBDIR += google-translate-cli
Index: textproc/gojq/Makefile
===================================================================
--- /dev/null
+++ textproc/gojq/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= gojq
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.12.5
+CATEGORIES= textproc
+
+MAINTAINER= nork@ninth-nine.com
+COMMENT= Pure Go implementation of jq
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+GO_MODULE= github.com/itchyny/gojq
+GO_TARGET= ./cmd/gojq
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+ ${INSTALL_DATA} ${WRKSRC}/_gojq ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
+
+.include <bsd.port.mk>
Index: textproc/gojq/distinfo
===================================================================
--- /dev/null
+++ textproc/gojq/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1638309443
+SHA256 (go/textproc_gojq/gojq-v0.12.5/v0.12.5.mod) = a6e12fbe75a18ef3fbbc01fdc7e9e03b74def733c07994fe49d4d36d330b8fad
+SIZE (go/textproc_gojq/gojq-v0.12.5/v0.12.5.mod) = 352
+SHA256 (go/textproc_gojq/gojq-v0.12.5/v0.12.5.zip) = 920d40767ef6dd675d0f35cfa882cf8a5ad4dcc8818bee0f1869cab994d3b6d5
+SIZE (go/textproc_gojq/gojq-v0.12.5/v0.12.5.zip) = 145577
Index: textproc/gojq/pkg-descr
===================================================================
--- /dev/null
+++ textproc/gojq/pkg-descr
@@ -0,0 +1,4 @@
+gojq is an implementation of the jq command written in Go.
+You can also embed gojq as a library to your Go products.
+
+WWW: https://github.com/itchyny/gojq
Index: textproc/gojq/pkg-plist
===================================================================
--- /dev/null
+++ textproc/gojq/pkg-plist
@@ -0,0 +1,2 @@
+bin/gojq
+share/zsh/site-functions/_gojq

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 7, 8:16 PM (12 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29379769
Default Alt Text
D33204.id99276.diff (1 KB)

Event Timeline