97a0e23df0
What's Changed: -Render story text in comment view in #62 -Update dependencies in #63
27 lines
731 B
Makefile
27 lines
731 B
Makefile
# $NetBSD: Makefile,v 1.17 2022/01/17 12:28:58 pin Exp $
|
|
|
|
DISTNAME= hackernews-TUI-0.9.1
|
|
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"
|