pkgsrc/sysutils/tealdeer/Makefile
bsiegert 9262322338 tealdeer: update to 1.5.0.
v1.5.0 (2021-12-31)

This is quite a big release with many new features. In the 15 months since the
last release, 59 pull requests from 16 different contributors were merged!

The highlights:

- Custom pages and patches: You can now create your own local-only tldr
  pages. But not just that, you can also extend existing upstream pages with
  your own examples.
- Change argument parsing from docopt to clap: We replaced docopt.rs as
  argument parsing library with clap v3, resulting in almost 1 MiB smaller
  binaries and a 22% speed increase when rendering a tldr page.
- Multi-language support: You can now override the language with -L/--language.
- A new `--show-paths` command: By running tldr --show-paths, you can list
  the currently used config dir, cache dir, upstream pages dir and custom pages dir.
- Compliance with the tldr client spec v1.5: We renamed -o/--os to
  -p/--platform and implemented transparent lowercasing of the page names.
- Docs: The README based documentation has reached its limits. There are
  now new mdbook based docs over at https://dbrgn.github.io/tealdeer/, we hope
  these make using tealdeer easier. Of course, documentation improvements are
  welcome! Also, if you're confused about how to use a certain feature, feel free
  to open an issue, this way we can improve the docs.
2022-01-01 19:32:04 +00:00

28 lines
888 B
Makefile

# $NetBSD: Makefile,v 1.6 2022/01/01 19:32:04 bsiegert Exp $
DISTNAME= tealdeer-1.5.0
GITHUB_TAG= v${PKGVERSION_NOREV}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=dbrgn/}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://github.com/dbrgn/tealdeer/
COMMENT= Simplified, example based and community-driven man pages
LICENSE= mit OR apache-2.0
USE_LANGUAGES= c # rust
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
INSTALLATION_DIRS= bin share/bash-completion/completions
.include "cargo-depends.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/tldr ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/bash_tealdeer ${DESTDIR}${PREFIX}/share/bash-completion/completions/tldr
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# $NetBSD: Makefile,v 1.6 2022/01/01 19:32:04 bsiegert Exp $