blob: 9b859ef8c964cee67cc791ed4b306ee52d65fa12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= doggo
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.4
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= dns
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern command-line DNS client (like dig)
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:1.18,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>
|