mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
847e4c7340
From Maintainer, thanks
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
COMMENT = viewer for git and diff output
|
|
|
|
GH_ACCOUNT = dandavison
|
|
GH_PROJECT = delta
|
|
GH_TAGNAME = 0.19.1
|
|
|
|
CATEGORIES = textproc
|
|
|
|
MAINTAINER = Laurent Cheylus <foxy@free.fr>
|
|
|
|
HOMEPAGE = https://github.com/dandavison/delta
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
WANTLIB += ${MODCARGO_WANTLIB} m git2 onig
|
|
|
|
MODULES = devel/cargo
|
|
|
|
LIB_DEPENDS += devel/libgit2/libgit2 \
|
|
textproc/oniguruma
|
|
|
|
CONFIGURE_STYLE = cargo
|
|
SEPARATE_BUILD = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/fish/vendor_completions.d/
|
|
${INSTALL_DATA} ${WRKSRC}/etc/completion/completion.fish \
|
|
${PREFIX}/share/fish/vendor_completions.d/delta.fish
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions/
|
|
${INSTALL_DATA} ${WRKSRC}/etc/completion/completion.zsh \
|
|
${PREFIX}/share/zsh/site-functions/_delta
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions/
|
|
${INSTALL_DATA} ${WRKSRC}/etc/completion/completion.bash \
|
|
${PREFIX}/share/bash-completion/completions/delta
|
|
|
|
.include "crates.inc"
|
|
|
|
.include <bsd.port.mk>
|