pkgsrc/www/hackernews-tui/Makefile
pin 71b89d9e7b www/hackernews-tui: update to 0.13.2
What's Changed
 - Add example configuration with dark mode palette in #92
 - Crate updates, and reverting to tracing 0.1.37 because of yanked
   release in #93
2023-06-04 20:16:38 +00:00

27 lines
732 B
Makefile

# $NetBSD: Makefile,v 1.23 2023/06/04 20:16:38 pin Exp $
DISTNAME= hackernews-TUI-0.13.2
PKGNAME= ${DISTNAME:tl}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=aome510/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/aome510/hackernews-TUI/
COMMENT= Terminal UI to browse Hacker News
LICENSE= mit
.include "cargo-depends.mk"
WRKSRC= ${WRKDIR}/${DISTNAME}
INSTALLATION_DIRS= bin share/examples/hackernews-tui
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/hackernews_tui \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/examples/hn-tui.toml \
${DESTDIR}${PREFIX}/share/examples/hackernews-tui
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"