195c3aa903
-Reduce usage of .unwrap() -Exit with exit code 1 in case of error, instead of panic -Remove --verbose flag -Add experimental sixel feature flag -Add --blocks flag to force block output -Bump dependencies to latest versions
21 lines
521 B
Makefile
21 lines
521 B
Makefile
# $NetBSD: Makefile,v 1.6 2021/12/19 15:56:24 pin Exp $
|
|
|
|
DISTNAME= viu-1.4.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=atanunq/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/atanunq/viu/
|
|
COMMENT= Simple terminal image viewer written in Rust
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/viu ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|