blob: 4010a3bb90b587e90a9ef84acc5a4786fe9d03fd (
plain) (
blame)
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
33
|
PORTNAME= dstask
DISTVERSIONPREFIX= v
DISTVERSION= 0.25
PORTREVISION= 2
CATEGORIES= deskutils
MAINTAINER= ashish@FreeBSD.org
COMMENT= Single binary terminal-based TODO manager with git-based sync
WWW= https://github.com/naggie/dstask
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= git:devel/git
USES= go:modules
GO_TARGET= ./cmd/dstask ./cmd/dstask-import
USE_GITHUB= yes
GH_ACCOUNT= naggie
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}-zsh-completions.sh \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}-bash-completions.sh \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh
.include <bsd.port.mk>
|