bee6d9a65a
New features: Macchina's custom ASCII art implementation is now much smarter than before, thanks to the amazing work of @uttarayan21, and his brilliant parser ansi-to-tui, go on, give it a star! How smart is it? Well, it can now parse ANSI characters to determine how to color the specified ascii. Want to give it a go? You'll find a directory named "ascii" in the source code, that contains some ascii files generated by jp2a which you can show alongside your beautiful system information. You can use your own too, of course! You'll also notice there's a new "contrib" directory too, which has a neat bash script that can download a video from any site that is supported by youtube-dl, and display it alongside your machine information, this is another one of @uttarayan21's contributions :) Bug fixes: -Fixed a build error occurring on macOS.
25 lines
599 B
Makefile
25 lines
599 B
Makefile
# $NetBSD: Makefile,v 1.20 2021/05/03 06:17:56 pin Exp $
|
|
|
|
DISTNAME= macchina-0.7.3
|
|
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"
|
|
|
|
USE_LANGUAGES+= c c++
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina ${DESTDIR}${PREFIX}/bin
|
|
|
|
DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|