# $NetBSD: Makefile,v 1.40 2021/11/13 17:05:42 pin Exp $ DISTNAME= macchina-5.0.5 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=Macchina-CLI/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pin@NetBSD.org HOMEPAGE= https://github.com/Macchina-CLI/macchina/ COMMENT= Basic system information fetcher LICENSE= mit .include "cargo-depends.mk" INSTALLATION_DIRS= bin share/examples/macchina do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/macchina.toml ${DESTDIR}${PREFIX}/share/examples/macchina ${INSTALL_DATA} ${WRKSRC}/themes/Hydrogen.toml ${DESTDIR}${PREFIX}/share/examples/macchina DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk"