pkgsrc/graphics/viu/Makefile

22 lines
521 B
Makefile
Raw Normal View History

# $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"