c64e6800d4
-Update viuer to 0.3, which comes with iTerm support -Add --frame-rate option #53
23 lines
580 B
Makefile
23 lines
580 B
Makefile
# $NetBSD: Makefile,v 1.2 2020/12/18 13:10:13 pin Exp $
|
|
|
|
DISTNAME= viu-1.3.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"
|
|
|
|
USE_LANGUAGES+= c # rust, but needs a toolchain to link
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/viu ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|