37 lines
919 B
Makefile
37 lines
919 B
Makefile
COMMENT = dotfiles manager across multiple diverse machines
|
|
|
|
MODGO_MODNAME = github.com/twpayne/chezmoi/v2
|
|
MODGO_VERSION = v2.15.1
|
|
|
|
DISTNAME = chezmoi-${MODGO_VERSION}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://www.chezmoi.io/
|
|
|
|
MAINTAINER = Paco Esteban <paco@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MODULES = lang/go
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.zsh \
|
|
${PREFIX}/share/zsh/site-functions/_chezmoi
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/fish/functions
|
|
${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.fish \
|
|
${PREFIX}/share/fish/functions/chezmoi-completion.fish
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions
|
|
${INSTALL_DATA} ${WRKSRC}/completions/chezmoi-completion.bash \
|
|
${PREFIX}/share/bash-completion/completions/chezmoi
|
|
|
|
.include "modules.inc"
|
|
|
|
.include <bsd.port.mk>
|