e9e3e210e3
ApeCrunch aims to be a fast, user-friendly Rust/TUI calculator port of the popular SpeedCrunch project. While not a copy-paste port, there are plans to implement every function SpeedCrunch supports plus the addition of much more.
28 lines
729 B
Makefile
28 lines
729 B
Makefile
# $NetBSD: Makefile,v 1.1 2022/09/26 14:02:23 pin Exp $
|
|
|
|
DISTNAME= apecrunch-0.0.3
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Gip-Gip/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/Gip-Gip/apecrunch/
|
|
COMMENT= Versitile TUI Speedcrunch Alternative
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_NCURSES= yes #NCURSES_MOUSE_VERSION
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.ncursesw}/lib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/apecrunch \
|
|
${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../devel/ncursesw/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|