Changeset View
Standalone View
textproc/gojq/Makefile
- This file was added.
PORTNAME= gojq | |||||
DISTVERSIONPREFIX= v | |||||
DISTVERSION= 0.12.5 | |||||
CATEGORIES= textproc | |||||
MAINTAINER= nork@ninth-nine.com | |||||
COMMENT= Pure Go implementation of jq | |||||
philip: I thought Nork-san was a committer? | |||||
Done Inline ActionsAh yes indeed, I have found this: https://reviews.freebsd.org/R11:83fc7a83ad8bf9f24eceafa5a7ce18a09b992238 driesm: Ah yes indeed, I have found this: https://reviews.freebsd.org/R11… | |||||
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/ | |||||
Done Inline ActionsDo you need to add an @dir share/zsh/site-functions to pkg-plist to clean this up? Or is pkg smart enough? philip: Do you need to add an `@dir share/zsh/site-functions` to pkg-plist to clean this up? Or is pkg… | |||||
Done Inline ActionsI have checked ports-mgmt/pkg, shells/zsh-completions, and they all lack the @dir, the directory will be present and populated wth _pkg as a minimum if you want any working port installed. Sometimes people also install there own completions in there. Does @dir only remove it when its empty? Then it wouldn't hurt either way. driesm: I have checked ports-mgmt/pkg, shells/zsh-completions, and they all lack the @dir, the… | |||||
Done Inline ActionsGiven it a further thought, it wouldn't hurt either way but it would always be a no-op given pkg has already something installed in there. (if it only deletes the dir if its empty with @dir) driesm: Given it a further thought, it wouldn't hurt either way but it would always be a no-op given… | |||||
.include <bsd.port.mk> |
I thought Nork-san was a committer?