b530bc783c
-[docs] Add Persian, Chinese and Russian README -[misc] add CLI flag to count hidden files and directories -[misc] removed json dependency -[misc] Better error handling (Replace error-chain with anyhow) -[misc] add LanguageType -[misc] update license cache -[misc] Use time crate instead of chrono -[language] added support for Protocol Buffers -[language] added support for SQL, WebAssembly, Toml, Yaml, Jsonnet, Solidity, Json, Sass, LLVM, AutoHotKey, Coq and Fortran Legacy -[cd] Automate "languages supported" badge -[cd] Add workflow for Minimum Rust Version badge
26 lines
710 B
Makefile
26 lines
710 B
Makefile
# $NetBSD: Makefile,v 1.14 2021/11/24 18:23:06 pin Exp $
|
|
|
|
DISTNAME= onefetch-2.11.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
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/onefetch ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/docs/onefetch.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/onefetch.1
|
|
|
|
DEPENDS+= git-base-[0-9]*:../../devel/git-base
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|