diff --git a/sysutils/tealdeer/Makefile b/sysutils/tealdeer/Makefile index 9d05f7169a81..b529316e54a5 100644 --- a/sysutils/tealdeer/Makefile +++ b/sysutils/tealdeer/Makefile @@ -1,46 +1,48 @@ PORTNAME= tealdeer DISTVERSIONPREFIX= v DISTVERSION= 1.6.1 PORTREVISION= 16 CATEGORIES= sysutils MAINTAINER= lcook@FreeBSD.org COMMENT= Fast tldr client written in Rust WWW= https://github.com/dbrgn/tealdeer LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT USES= cargo ssl USE_GITHUB= yes GH_ACCOUNT= dbrgn +CONFLICTS_INSTALL= tldr + PLIST_FILES= bin/tldr PORTDOCS= CHANGELOG.md README.md OPTIONS_DEFINE= COMPLETIONS DOCS LOGGER OPTIONS_DEFAULT= COMPLETIONS LOGGER_DESC= Debug build with logging enabled LOGGER_VARS= CARGO_FEATURES+=logging COMPLETIONS_DESC= Install bash, fish and zsh shell completions COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} post-install: .for _shell in bash fish zsh ${INSTALL_DATA} ${WRKSRC}/completion/${_shell}_${PORTNAME} \ ${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/tldr/Makefile b/sysutils/tldr/Makefile index 54a7a2ad640f..cabfbddcfacd 100644 --- a/sysutils/tldr/Makefile +++ b/sysutils/tldr/Makefile @@ -1,30 +1,32 @@ PORTNAME= tldr DISTVERSIONPREFIX= v DISTVERSION= 1.11.1 CATEGORIES= sysutils MAINTAINER= adamw@FreeBSD.org COMMENT= "Official" Rust tldr client WWW= https://tldr.sh/tlrc LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo USE_GITHUB= yes GH_PROJECT= tlrc GH_ACCOUNT= tldr-pages +CONFLICTS_INSTALL= tealdeer + PLIST_FILES= bin/tldr \ share/man/man1/tldr.1.gz \ share/bash-completion/completions/tldr \ share/fish/vendor_completions.d/tldr.fish \ share/zsh/site-functions/_tldr post-install: ${INSTALL_MAN} ${WRKSRC}/tldr.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/completions/tldr.bash ${STAGEDIR}${PREFIX}/share/bash-completion/completions/tldr ${INSTALL_DATA} ${WRKSRC}/completions/tldr.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d ${INSTALL_DATA} ${WRKSRC}/completions/_tldr ${STAGEDIR}${PREFIX}/share/zsh/site-functions .include