1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/deskutils/dstask/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

32 lines
906 B
Makefile

PORTNAME= dstask
DISTVERSIONPREFIX= v
DISTVERSION= 0.24.1
CATEGORIES= deskutils
MAINTAINER= ashish@FreeBSD.org
COMMENT= Single binary terminal-based TODO manager with git-based sync
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>