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