pkgsrc/sysutils/macchina/Makefile
pin cad67c3d9d sysutils/macchina: import package
Basic system information fetcher, with a focus on performance and minimalism.

Macchina lets you view basic system information, like your hostname, kernel
version, uptime, memory usage, and much more.
No one wants a slow fetcher, and Macchina's selling point is providing you with
convenient features while keeping performance a priority and minimalism a goal.

Macchina has native full support for NetBSD. Thanks grtcdr!
2021-03-06 14:06:38 +00:00

26 lines
630 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/03/06 14:06:38 pin Exp $
DISTNAME= macchina-0.4.9
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=grtcdr/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/grtcdr/macchina/
COMMENT= Basic system information fetcher
LICENSE= mit
.include "cargo-depends.mk"
USE_LANGUAGES+= c
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina ${DESTDIR}${PREFIX}/bin
DEPENDS+= ripgrep-[0-9]*:../../textproc/ripgrep
DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"