1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/dns/doggo/Makefile
2023-09-08 09:34:56 -05:00

34 lines
885 B
Makefile

PORTNAME= doggo
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.6
PORTREVISION= 2
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/fish/completions/${PORTNAME}.fish \
share/zsh/site-functions/_${PORTNAME}
post-install:
# install completions
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.fish \
${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.zsh \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
.include <bsd.port.mk>