pkgsrc/sysutils/tealdeer/Makefile
bsiegert d2fffe429e Update tldr to 1.4.1.
v1.4.1 (2020-09-04)

- [fixed] Syntax error in zsh completion file


v1.4.0 (2020-09-03)

- [added] Configurable automatic cache updates
- [added] Improved color detection and support for `--color` argument and
  `NO_COLOR` env variable
- [changed] Make `--list` option comply with official spec
- [changed] Move cache age warning to stderr
2020-09-06 16:43:52 +00:00

207 lines
7.7 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2020/09/06 16:43:52 bsiegert Exp $
DISTNAME= tealdeer-1.4.1
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
CARGO_CRATE_DEPENDS+= addr2line-0.13.0
CARGO_CRATE_DEPENDS+= adler-0.2.3
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.13
CARGO_CRATE_DEPENDS+= android_log-sys-0.1.2
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= app_dirs2-2.3.0
CARGO_CRATE_DEPENDS+= ascii-0.9.3
CARGO_CRATE_DEPENDS+= assert_cmd-1.0.1
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= backtrace-0.3.50
CARGO_CRATE_DEPENDS+= base64-0.12.3
CARGO_CRATE_DEPENDS+= bitflags-1.2.1
CARGO_CRATE_DEPENDS+= bumpalo-3.4.0
CARGO_CRATE_DEPENDS+= byteorder-1.3.4
CARGO_CRATE_DEPENDS+= bytes-0.5.6
CARGO_CRATE_DEPENDS+= cc-1.0.59
CARGO_CRATE_DEPENDS+= cesu8-1.1.0
CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
CARGO_CRATE_DEPENDS+= combine-3.8.1
CARGO_CRATE_DEPENDS+= core-foundation-0.7.0
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.7.0
CARGO_CRATE_DEPENDS+= crc32fast-1.2.0
CARGO_CRATE_DEPENDS+= derivative-2.1.1
CARGO_CRATE_DEPENDS+= difference-2.0.0
CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
CARGO_CRATE_DEPENDS+= docopt-1.1.0
CARGO_CRATE_DEPENDS+= dtoa-0.4.6
CARGO_CRATE_DEPENDS+= either-1.6.0
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.24
CARGO_CRATE_DEPENDS+= env_logger-0.7.1
CARGO_CRATE_DEPENDS+= errno-0.2.6
CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.1
CARGO_CRATE_DEPENDS+= error-chain-0.12.4
CARGO_CRATE_DEPENDS+= escargot-0.5.0
CARGO_CRATE_DEPENDS+= filetime-0.2.12
CARGO_CRATE_DEPENDS+= flate2-1.0.17
CARGO_CRATE_DEPENDS+= float-cmp-0.8.0
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
CARGO_CRATE_DEPENDS+= fuchsia-zircon-0.3.3
CARGO_CRATE_DEPENDS+= fuchsia-zircon-sys-0.3.3
CARGO_CRATE_DEPENDS+= futures-channel-0.3.5
CARGO_CRATE_DEPENDS+= futures-core-0.3.5
CARGO_CRATE_DEPENDS+= futures-io-0.3.5
CARGO_CRATE_DEPENDS+= futures-sink-0.3.5
CARGO_CRATE_DEPENDS+= futures-task-0.3.5
CARGO_CRATE_DEPENDS+= futures-util-0.3.5
CARGO_CRATE_DEPENDS+= gcc-0.3.55
CARGO_CRATE_DEPENDS+= getrandom-0.1.14
CARGO_CRATE_DEPENDS+= gimli-0.22.0
CARGO_CRATE_DEPENDS+= h2-0.2.6
CARGO_CRATE_DEPENDS+= hashbrown-0.8.2
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.15
CARGO_CRATE_DEPENDS+= http-0.2.1
CARGO_CRATE_DEPENDS+= http-body-0.3.1
CARGO_CRATE_DEPENDS+= httparse-1.3.4
CARGO_CRATE_DEPENDS+= humantime-1.3.0
CARGO_CRATE_DEPENDS+= hyper-0.13.7
CARGO_CRATE_DEPENDS+= hyper-tls-0.4.3
CARGO_CRATE_DEPENDS+= idna-0.2.0
CARGO_CRATE_DEPENDS+= indexmap-1.5.2
CARGO_CRATE_DEPENDS+= iovec-0.1.4
CARGO_CRATE_DEPENDS+= ipnet-2.3.0
CARGO_CRATE_DEPENDS+= itoa-0.4.6
CARGO_CRATE_DEPENDS+= jni-0.14.0
CARGO_CRATE_DEPENDS+= jni-sys-0.3.0
CARGO_CRATE_DEPENDS+= js-sys-0.3.44
CARGO_CRATE_DEPENDS+= kernel32-sys-0.2.2
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.76
CARGO_CRATE_DEPENDS+= log-0.4.11
CARGO_CRATE_DEPENDS+= matches-0.1.8
CARGO_CRATE_DEPENDS+= memchr-2.3.3
CARGO_CRATE_DEPENDS+= mime-0.3.16
CARGO_CRATE_DEPENDS+= mime_guess-2.0.3
CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.1
CARGO_CRATE_DEPENDS+= mio-0.6.22
CARGO_CRATE_DEPENDS+= miow-0.2.1
CARGO_CRATE_DEPENDS+= native-tls-0.2.4
CARGO_CRATE_DEPENDS+= ndk-0.1.0
CARGO_CRATE_DEPENDS+= ndk-glue-0.1.0
CARGO_CRATE_DEPENDS+= ndk-sys-0.1.0
CARGO_CRATE_DEPENDS+= net2-0.2.34
CARGO_CRATE_DEPENDS+= normalize-line-endings-0.3.0
CARGO_CRATE_DEPENDS+= num-traits-0.2.12
CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
CARGO_CRATE_DEPENDS+= num_enum-0.4.3
CARGO_CRATE_DEPENDS+= num_enum_derive-0.4.3
CARGO_CRATE_DEPENDS+= object-0.20.0
CARGO_CRATE_DEPENDS+= once_cell-1.4.1
CARGO_CRATE_DEPENDS+= openssl-0.10.30
CARGO_CRATE_DEPENDS+= openssl-probe-0.1.2
CARGO_CRATE_DEPENDS+= openssl-sys-0.9.58
CARGO_CRATE_DEPENDS+= pager-0.15.0
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
CARGO_CRATE_DEPENDS+= pin-project-0.4.23
CARGO_CRATE_DEPENDS+= pin-project-internal-0.4.23
CARGO_CRATE_DEPENDS+= pin-project-lite-0.1.7
CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
CARGO_CRATE_DEPENDS+= pkg-config-0.3.18
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.9
CARGO_CRATE_DEPENDS+= predicates-1.0.5
CARGO_CRATE_DEPENDS+= predicates-core-1.0.0
CARGO_CRATE_DEPENDS+= predicates-tree-1.0.0
CARGO_CRATE_DEPENDS+= proc-macro-crate-0.1.5
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.19
CARGO_CRATE_DEPENDS+= quick-error-1.2.3
CARGO_CRATE_DEPENDS+= quote-1.0.7
CARGO_CRATE_DEPENDS+= rand-0.7.3
CARGO_CRATE_DEPENDS+= rand_chacha-0.2.2
CARGO_CRATE_DEPENDS+= rand_core-0.5.1
CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
CARGO_CRATE_DEPENDS+= regex-1.3.9
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.18
CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.2
CARGO_CRATE_DEPENDS+= reqwest-0.10.8
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.16
CARGO_CRATE_DEPENDS+= ryu-1.0.5
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= schannel-0.1.19
CARGO_CRATE_DEPENDS+= security-framework-0.4.4
CARGO_CRATE_DEPENDS+= security-framework-sys-0.4.3
CARGO_CRATE_DEPENDS+= serde-1.0.115
CARGO_CRATE_DEPENDS+= serde_derive-1.0.115
CARGO_CRATE_DEPENDS+= serde_json-1.0.57
CARGO_CRATE_DEPENDS+= serde_urlencoded-0.6.1
CARGO_CRATE_DEPENDS+= slab-0.4.2
CARGO_CRATE_DEPENDS+= socket2-0.3.12
CARGO_CRATE_DEPENDS+= strsim-0.9.3
CARGO_CRATE_DEPENDS+= syn-1.0.39
CARGO_CRATE_DEPENDS+= tar-0.4.30
CARGO_CRATE_DEPENDS+= tempfile-3.1.0
CARGO_CRATE_DEPENDS+= termcolor-1.1.0
CARGO_CRATE_DEPENDS+= thread_local-1.0.1
CARGO_CRATE_DEPENDS+= time-0.1.44
CARGO_CRATE_DEPENDS+= tinyvec-0.3.4
CARGO_CRATE_DEPENDS+= tokio-0.2.22
CARGO_CRATE_DEPENDS+= tokio-tls-0.3.1
CARGO_CRATE_DEPENDS+= tokio-util-0.3.1
CARGO_CRATE_DEPENDS+= toml-0.5.6
CARGO_CRATE_DEPENDS+= tower-service-0.3.0
CARGO_CRATE_DEPENDS+= tracing-0.1.19
CARGO_CRATE_DEPENDS+= tracing-core-0.1.15
CARGO_CRATE_DEPENDS+= treeline-0.1.0
CARGO_CRATE_DEPENDS+= try-lock-0.2.3
CARGO_CRATE_DEPENDS+= unicase-2.6.0
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.13
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
CARGO_CRATE_DEPENDS+= unreachable-1.0.0
CARGO_CRATE_DEPENDS+= url-2.1.1
CARGO_CRATE_DEPENDS+= vcpkg-0.2.10
CARGO_CRATE_DEPENDS+= version_check-0.9.2
CARGO_CRATE_DEPENDS+= void-1.0.2
CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+= walkdir-2.3.1
CARGO_CRATE_DEPENDS+= want-0.3.0
CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasi-0.10.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.67
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.67
CARGO_CRATE_DEPENDS+= wasm-bindgen-futures-0.4.17
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.67
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.67
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.67
CARGO_CRATE_DEPENDS+= web-sys-0.3.44
CARGO_CRATE_DEPENDS+= winapi-0.2.8
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-build-0.1.1
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.5
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winreg-0.7.0
CARGO_CRATE_DEPENDS+= ws2_32-sys-0.2.1
CARGO_CRATE_DEPENDS+= xattr-0.2.2
CARGO_CRATE_DEPENDS+= xdg-2.2.0
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
INSTALLATION_DIRS= bin share/bash-completion/completions
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.5 2020/09/06 16:43:52 bsiegert Exp $