491ab33bd8
Newer versions require rust-1.51, I will update the package when rust-1.51 is default.
24 lines
596 B
Makefile
24 lines
596 B
Makefile
# $NetBSD: Makefile,v 1.3 2021/03/27 17:01:23 pin Exp $
|
|
|
|
DISTNAME= bk-0.5.2
|
|
# WARNING: Do not update this package!
|
|
# Newer versions require rust-1.51
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=aeosynth/}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/aeosynth/bk/
|
|
COMMENT= Terminal Epub reader
|
|
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/bk ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|