pkgsrc/sysutils/macchina/Makefile
pin a2f3a62d35 sysutils/macchina: update to 6.1.2
- Fixed an issue that caused installations through cargo to fail due to a
   malformed lockfile.
2022-09-16 11:13:31 +00:00

32 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2022/09/16 11:13:31 pin Exp $
DISTNAME= macchina-6.1.2
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= System information frontend with emphasis on performance
LICENSE= mit
.include "cargo-depends.mk"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man7 share/examples/macchina
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina \
${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/macchina.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/macchina.1
${INSTALL_MAN} ${WRKSRC}/doc/macchina.7 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/macchina.7
${INSTALL_DATA} ${WRKSRC}/macchina.toml \
${DESTDIR}${PREFIX}/share/examples/macchina
${INSTALL_DATA} ${WRKSRC}/contrib/themes/Lithium.toml \
${DESTDIR}${PREFIX}/share/examples/macchina
DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"