pkgsrc/misc/deckster/Makefile
pin adff7e6652 misc/deckster: import package
TUI to study flashcards in the terminal.

Spaced repetition in the terminal. Inspired by Anki and uses a modified SM2
algorithm.

Cards should be saved in TOML format.
2021-05-17 07:47:42 +00:00

24 lines
634 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/05/17 07:47:42 pin Exp $
DISTNAME= deckster-0.2.1
CATEGORIES= misc
MASTER_SITES= https://gitlab.com/prince_bett/deckster/-/archive/v${PKGVERSION_NOREV}/
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://gitlab.com/prince_bett/deckster/
COMMENT= TUI to study flashcards in the terminal
LICENSE= mit
WRKSRC= ${WRKDIR}/deckster-v0.2.1-36735a7ca9698e48541da981ef5ccc8978fe9f58
.include "cargo-depends.mk"
USE_LANGUAGES+= c
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/deckster ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"