0b0b5c065e
v2.4.0 This release's main focus was to improve the overall performance and make it easier for future contributors to add support for a new language. Contributors:@spenserblack,@SuperSandro2000,@MarkusPettersson98 Language:Added support for Crystal @MarkusPettersson98 New feature: -Use async/await to improve performance @spenserblack @o2sh -Refacto language.rs with the introduction of a macro! and Unit tests to check for ASCII logo size @spenserblack -Refacto info.rs to use git log once #198 @o2sh Misc: -Add info for cargo-deb @SuperSandro2000 -Enable stale bot #184 @o2sh -Enable dependabot @spenserblack -Improved ci/cd actions @o2sh
251 lines
9.2 KiB
Makefile
251 lines
9.2 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2020/10/04 11:02:59 pin Exp $
|
|
|
|
DISTNAME= onefetch-2.4.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=o2sh/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/o2sh/onefetch/
|
|
COMMENT= Git repository summary on your terminal
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES+= c # rust, but needs a toolchain to link
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CARGO_CRATE_DEPENDS+= adler-0.2.3
|
|
CARGO_CRATE_DEPENDS+= adler32-1.0.4
|
|
CARGO_CRATE_DEPENDS+= ahash-0.3.8
|
|
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.10
|
|
CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
|
|
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
|
|
CARGO_CRATE_DEPENDS+= arc-swap-0.4.7
|
|
CARGO_CRATE_DEPENDS+= arrayref-0.3.5
|
|
CARGO_CRATE_DEPENDS+= arrayvec-0.4.12
|
|
CARGO_CRATE_DEPENDS+= askalono-0.4.3
|
|
CARGO_CRATE_DEPENDS+= atty-0.2.13
|
|
CARGO_CRATE_DEPENDS+= autocfg-0.1.7
|
|
CARGO_CRATE_DEPENDS+= autocfg-1.0.0
|
|
CARGO_CRATE_DEPENDS+= backtrace-0.3.40
|
|
CARGO_CRATE_DEPENDS+= backtrace-sys-0.1.32
|
|
CARGO_CRATE_DEPENDS+= base64-0.10.1
|
|
CARGO_CRATE_DEPENDS+= base64-0.13.0
|
|
CARGO_CRATE_DEPENDS+= bitflags-1.2.1
|
|
CARGO_CRATE_DEPENDS+= blake2b_simd-0.5.8
|
|
CARGO_CRATE_DEPENDS+= block-buffer-0.7.3
|
|
CARGO_CRATE_DEPENDS+= block-padding-0.1.4
|
|
CARGO_CRATE_DEPENDS+= bstr-0.2.8
|
|
CARGO_CRATE_DEPENDS+= byte-tools-0.3.1
|
|
CARGO_CRATE_DEPENDS+= bytecount-0.6.0
|
|
CARGO_CRATE_DEPENDS+= bytemuck-1.3.1
|
|
CARGO_CRATE_DEPENDS+= byteorder-1.3.2
|
|
CARGO_CRATE_DEPENDS+= bytes-0.5.6
|
|
CARGO_CRATE_DEPENDS+= cc-1.0.46
|
|
CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
|
|
CARGO_CRATE_DEPENDS+= chrono-0.4.11
|
|
CARGO_CRATE_DEPENDS+= chrono-tz-0.5.2
|
|
CARGO_CRATE_DEPENDS+= clap-2.33.3
|
|
CARGO_CRATE_DEPENDS+= cloudabi-0.0.3
|
|
CARGO_CRATE_DEPENDS+= color_quant-1.0.1
|
|
CARGO_CRATE_DEPENDS+= colored-2.0.0
|
|
CARGO_CRATE_DEPENDS+= const-random-0.1.8
|
|
CARGO_CRATE_DEPENDS+= const-random-macro-0.1.8
|
|
CARGO_CRATE_DEPENDS+= constant_time_eq-0.1.4
|
|
CARGO_CRATE_DEPENDS+= crc32fast-1.2.0
|
|
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.4.2
|
|
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.7.3
|
|
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.8.2
|
|
CARGO_CRATE_DEPENDS+= crossbeam-queue-0.2.3
|
|
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.6.6
|
|
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.7.2
|
|
CARGO_CRATE_DEPENDS+= dashmap-3.11.4
|
|
CARGO_CRATE_DEPENDS+= deflate-0.8.6
|
|
CARGO_CRATE_DEPENDS+= deunicode-0.4.3
|
|
CARGO_CRATE_DEPENDS+= digest-0.8.1
|
|
CARGO_CRATE_DEPENDS+= dirs-2.0.2
|
|
CARGO_CRATE_DEPENDS+= dirs-sys-0.3.4
|
|
CARGO_CRATE_DEPENDS+= either-1.5.3
|
|
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.20
|
|
CARGO_CRATE_DEPENDS+= encoding_rs_io-0.1.7
|
|
CARGO_CRATE_DEPENDS+= env_logger-0.7.1
|
|
CARGO_CRATE_DEPENDS+= failure-0.1.6
|
|
CARGO_CRATE_DEPENDS+= failure_derive-0.1.6
|
|
CARGO_CRATE_DEPENDS+= fake-simd-0.1.2
|
|
CARGO_CRATE_DEPENDS+= flate2-1.0.17
|
|
CARGO_CRATE_DEPENDS+= fnv-1.0.6
|
|
CARGO_CRATE_DEPENDS+= fuchsia-cprng-0.1.1
|
|
CARGO_CRATE_DEPENDS+= fuchsia-zircon-0.3.3
|
|
CARGO_CRATE_DEPENDS+= fuchsia-zircon-sys-0.3.3
|
|
CARGO_CRATE_DEPENDS+= futures-0.3.5
|
|
CARGO_CRATE_DEPENDS+= futures-channel-0.3.5
|
|
CARGO_CRATE_DEPENDS+= futures-core-0.3.5
|
|
CARGO_CRATE_DEPENDS+= futures-executor-0.3.5
|
|
CARGO_CRATE_DEPENDS+= futures-io-0.3.5
|
|
CARGO_CRATE_DEPENDS+= futures-macro-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+= generic-array-0.12.3
|
|
CARGO_CRATE_DEPENDS+= getrandom-0.1.13
|
|
CARGO_CRATE_DEPENDS+= gif-0.11.1
|
|
CARGO_CRATE_DEPENDS+= git2-0.13.11
|
|
CARGO_CRATE_DEPENDS+= glob-0.3.0
|
|
CARGO_CRATE_DEPENDS+= globset-0.4.5
|
|
CARGO_CRATE_DEPENDS+= globwalk-0.8.0
|
|
CARGO_CRATE_DEPENDS+= grep-matcher-0.1.3
|
|
CARGO_CRATE_DEPENDS+= grep-searcher-0.1.7
|
|
CARGO_CRATE_DEPENDS+= heck-0.3.1
|
|
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.14
|
|
CARGO_CRATE_DEPENDS+= humansize-1.1.0
|
|
CARGO_CRATE_DEPENDS+= humantime-1.3.0
|
|
CARGO_CRATE_DEPENDS+= idna-0.2.0
|
|
CARGO_CRATE_DEPENDS+= ignore-0.4.16
|
|
CARGO_CRATE_DEPENDS+= image-0.23.10
|
|
CARGO_CRATE_DEPENDS+= iovec-0.1.4
|
|
CARGO_CRATE_DEPENDS+= itertools-0.9.0
|
|
CARGO_CRATE_DEPENDS+= itoa-0.4.4
|
|
CARGO_CRATE_DEPENDS+= jobserver-0.1.17
|
|
CARGO_CRATE_DEPENDS+= jpeg-decoder-0.1.20
|
|
CARGO_CRATE_DEPENDS+= kernel32-sys-0.2.2
|
|
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
|
|
CARGO_CRATE_DEPENDS+= libc-0.2.78
|
|
CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.13+1.0.1
|
|
CARGO_CRATE_DEPENDS+= libz-sys-1.1.0
|
|
CARGO_CRATE_DEPENDS+= lock_api-0.3.4
|
|
CARGO_CRATE_DEPENDS+= log-0.4.8
|
|
CARGO_CRATE_DEPENDS+= lzw-0.10.0
|
|
CARGO_CRATE_DEPENDS+= maplit-1.0.2
|
|
CARGO_CRATE_DEPENDS+= matches-0.1.8
|
|
CARGO_CRATE_DEPENDS+= maybe-uninit-2.0.0
|
|
CARGO_CRATE_DEPENDS+= memchr-2.2.1
|
|
CARGO_CRATE_DEPENDS+= memmap-0.7.0
|
|
CARGO_CRATE_DEPENDS+= memoffset-0.5.1
|
|
CARGO_CRATE_DEPENDS+= miniz_oxide-0.3.7
|
|
CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.2
|
|
CARGO_CRATE_DEPENDS+= mio-0.6.22
|
|
CARGO_CRATE_DEPENDS+= mio-named-pipes-0.1.7
|
|
CARGO_CRATE_DEPENDS+= mio-uds-0.6.8
|
|
CARGO_CRATE_DEPENDS+= miow-0.2.1
|
|
CARGO_CRATE_DEPENDS+= miow-0.3.5
|
|
CARGO_CRATE_DEPENDS+= more-asserts-0.2.1
|
|
CARGO_CRATE_DEPENDS+= net2-0.2.34
|
|
CARGO_CRATE_DEPENDS+= nodrop-0.1.14
|
|
CARGO_CRATE_DEPENDS+= num-integer-0.1.43
|
|
CARGO_CRATE_DEPENDS+= num-iter-0.1.39
|
|
CARGO_CRATE_DEPENDS+= num-rational-0.3.0
|
|
CARGO_CRATE_DEPENDS+= num-traits-0.2.12
|
|
CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
|
|
CARGO_CRATE_DEPENDS+= once_cell-1.4.0
|
|
CARGO_CRATE_DEPENDS+= opaque-debug-0.2.3
|
|
CARGO_CRATE_DEPENDS+= parking_lot-0.10.2
|
|
CARGO_CRATE_DEPENDS+= parking_lot_core-0.7.2
|
|
CARGO_CRATE_DEPENDS+= parse-zoneinfo-0.3.0
|
|
CARGO_CRATE_DEPENDS+= paste-1.0.1
|
|
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
|
|
CARGO_CRATE_DEPENDS+= pest-2.1.2
|
|
CARGO_CRATE_DEPENDS+= pest_derive-2.1.0
|
|
CARGO_CRATE_DEPENDS+= pest_generator-2.1.1
|
|
CARGO_CRATE_DEPENDS+= pest_meta-2.1.2
|
|
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.16
|
|
CARGO_CRATE_DEPENDS+= png-0.16.7
|
|
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.8
|
|
CARGO_CRATE_DEPENDS+= proc-macro-hack-0.5.16
|
|
CARGO_CRATE_DEPENDS+= proc-macro-nested-0.1.6
|
|
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.18
|
|
CARGO_CRATE_DEPENDS+= quick-error-1.2.3
|
|
CARGO_CRATE_DEPENDS+= quote-1.0.2
|
|
CARGO_CRATE_DEPENDS+= rand-0.7.3
|
|
CARGO_CRATE_DEPENDS+= rand_chacha-0.2.2
|
|
CARGO_CRATE_DEPENDS+= rand_core-0.3.1
|
|
CARGO_CRATE_DEPENDS+= rand_core-0.4.2
|
|
CARGO_CRATE_DEPENDS+= rand_core-0.5.1
|
|
CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
|
|
CARGO_CRATE_DEPENDS+= rand_os-0.1.3
|
|
CARGO_CRATE_DEPENDS+= rayon-1.3.1
|
|
CARGO_CRATE_DEPENDS+= rayon-core-1.7.1
|
|
CARGO_CRATE_DEPENDS+= rdrand-0.4.0
|
|
CARGO_CRATE_DEPENDS+= redox_syscall-0.1.56
|
|
CARGO_CRATE_DEPENDS+= redox_users-0.3.1
|
|
CARGO_CRATE_DEPENDS+= regex-1.3.9
|
|
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.18
|
|
CARGO_CRATE_DEPENDS+= rmp-0.8.8
|
|
CARGO_CRATE_DEPENDS+= rmp-serde-0.14.4
|
|
CARGO_CRATE_DEPENDS+= rust-argon2-0.5.1
|
|
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.16
|
|
CARGO_CRATE_DEPENDS+= rustc_version-0.2.3
|
|
CARGO_CRATE_DEPENDS+= ryu-1.0.2
|
|
CARGO_CRATE_DEPENDS+= same-file-1.0.5
|
|
CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
|
|
CARGO_CRATE_DEPENDS+= scopeguard-1.0.0
|
|
CARGO_CRATE_DEPENDS+= semver-0.9.0
|
|
CARGO_CRATE_DEPENDS+= semver-parser-0.7.0
|
|
CARGO_CRATE_DEPENDS+= serde-1.0.114
|
|
CARGO_CRATE_DEPENDS+= serde_derive-1.0.114
|
|
CARGO_CRATE_DEPENDS+= serde_json-1.0.55
|
|
CARGO_CRATE_DEPENDS+= sha-1-0.8.1
|
|
CARGO_CRATE_DEPENDS+= signal-hook-registry-1.2.1
|
|
CARGO_CRATE_DEPENDS+= slab-0.4.2
|
|
CARGO_CRATE_DEPENDS+= slug-0.1.4
|
|
CARGO_CRATE_DEPENDS+= smallvec-0.6.10
|
|
CARGO_CRATE_DEPENDS+= smallvec-1.4.0
|
|
CARGO_CRATE_DEPENDS+= socket2-0.3.12
|
|
CARGO_CRATE_DEPENDS+= strsim-0.8.0
|
|
CARGO_CRATE_DEPENDS+= strum-0.19.2
|
|
CARGO_CRATE_DEPENDS+= strum_macros-0.19.2
|
|
CARGO_CRATE_DEPENDS+= syn-1.0.33
|
|
CARGO_CRATE_DEPENDS+= synstructure-0.12.1
|
|
CARGO_CRATE_DEPENDS+= tera-1.3.1
|
|
CARGO_CRATE_DEPENDS+= term_size-0.3.2
|
|
CARGO_CRATE_DEPENDS+= termcolor-1.0.5
|
|
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
|
|
CARGO_CRATE_DEPENDS+= thread_local-1.0.1
|
|
CARGO_CRATE_DEPENDS+= tiff-0.5.0
|
|
CARGO_CRATE_DEPENDS+= time-0.1.42
|
|
CARGO_CRATE_DEPENDS+= tokei-12.0.4
|
|
CARGO_CRATE_DEPENDS+= tokio-0.2.22
|
|
CARGO_CRATE_DEPENDS+= tokio-macros-0.2.5
|
|
CARGO_CRATE_DEPENDS+= toml-0.5.6
|
|
CARGO_CRATE_DEPENDS+= typenum-1.11.2
|
|
CARGO_CRATE_DEPENDS+= ucd-trie-0.1.2
|
|
CARGO_CRATE_DEPENDS+= unic-char-property-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unic-char-range-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unic-common-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unic-segment-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unic-ucd-segment-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unic-ucd-version-0.9.0
|
|
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
|
|
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.8
|
|
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.3.0
|
|
CARGO_CRATE_DEPENDS+= unicode-width-0.1.6
|
|
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.0
|
|
CARGO_CRATE_DEPENDS+= url-2.1.1
|
|
CARGO_CRATE_DEPENDS+= vcpkg-0.2.7
|
|
CARGO_CRATE_DEPENDS+= vec_map-0.8.1
|
|
CARGO_CRATE_DEPENDS+= walkdir-2.2.9
|
|
CARGO_CRATE_DEPENDS+= wasi-0.7.0
|
|
CARGO_CRATE_DEPENDS+= weezl-0.1.0
|
|
CARGO_CRATE_DEPENDS+= winapi-0.2.8
|
|
CARGO_CRATE_DEPENDS+= winapi-0.3.8
|
|
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.2
|
|
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
|
|
CARGO_CRATE_DEPENDS+= wincolor-1.0.2
|
|
CARGO_CRATE_DEPENDS+= ws2_32-sys-0.2.1
|
|
CARGO_CRATE_DEPENDS+= zstd-0.5.3+zstd.1.4.5
|
|
CARGO_CRATE_DEPENDS+= zstd-safe-2.0.5+zstd.1.4.5
|
|
CARGO_CRATE_DEPENDS+= zstd-sys-1.4.17+zstd.1.4.5
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/onefetch ${DESTDIR}${PREFIX}/bin
|
|
|
|
DEPENDS+= git-base-[0-9]*:../../devel/git-base
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|