c5521afe47
v5.0.5 -NetBSD: Don't check the output of `session()`, addressing #217. -Wayland: Sway and Qtile users don't need `wmctrl` to see their window manager information. -Unix: Fixed failing "Host" and "Shell" readouts. v5.0.4 -Fixed a compilation error upon cargo installation. -Windows' dependencies have been bumped. (libmacchina#93) -Windows' Local IP readout is a lot more user-friendly now. (libmacchina#94)
25 lines
777 B
Makefile
25 lines
777 B
Makefile
# $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"
|