pkgsrc/textproc/bk/Makefile

24 lines
564 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2021/05/31 20:49:15 pin Exp $
DISTNAME= bk-0.5.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=aeosynth/}
GITHUB_TAG= v${PKGVERSION_NOREV}
2021-04-24 21:35:44 +02:00
MAINTAINER= pkgsrc-users@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"