diff --git a/dns/doggo/Makefile b/dns/doggo/Makefile index f5e7e6f3589e..305d96afc344 100644 --- a/dns/doggo/Makefile +++ b/dns/doggo/Makefile @@ -1,33 +1,38 @@ PORTNAME= doggo DISTVERSIONPREFIX= v -DISTVERSION= 0.5.7 -PORTREVISION= 7 +DISTVERSION= 1.0.4 PORTEPOCH= 1 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Modern command-line DNS client (like dig) WWW= https://github.com/mr-karan/doggo LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/mr-karan/doggo GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ + share/bash-completion/completions/_${PORTNAME} \ share/fish/completions/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} -post-install: - # install completions +post-install: # install completions + # bash + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completions bash > \ + ${STAGEDIR}${PREFIX}/share/bash-completion/completions/_${PORTNAME} + # fish @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions - ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.fish \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completions fish > \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish + # zsh @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions - ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.zsh \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completions zsh > \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/dns/doggo/distinfo b/dns/doggo/distinfo index 31085bf23721..8d6e0492d633 100644 --- a/dns/doggo/distinfo +++ b/dns/doggo/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1699221377 -SHA256 (go/dns_doggo/doggo-v0.5.7/v0.5.7.mod) = 62db586937a3a57eccea9064fe17d106405b4aec0f1c06c6e5f813678ff49f9e -SIZE (go/dns_doggo/doggo-v0.5.7/v0.5.7.mod) = 1598 -SHA256 (go/dns_doggo/doggo-v0.5.7/v0.5.7.zip) = 70361e7891da26e31c57c610ddab43a126ab80fecf53c3750ef7acfd44db631d -SIZE (go/dns_doggo/doggo-v0.5.7/v0.5.7.zip) = 418217 +TIMESTAMP = 1720043357 +SHA256 (go/dns_doggo/doggo-v1.0.4/v1.0.4.mod) = 40496cde8f7ff744b0f47f52359693a41d4f350fda175fb999387cb8f024e943 +SIZE (go/dns_doggo/doggo-v1.0.4/v1.0.4.mod) = 1765 +SHA256 (go/dns_doggo/doggo-v1.0.4/v1.0.4.zip) = 87c93fa527c65ca9a54343e4a899efa802011c7872b5f65d6a3388bf8610f9ff +SIZE (go/dns_doggo/doggo-v1.0.4/v1.0.4.zip) = 2468455