mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
28 lines
608 B
Makefile
28 lines
608 B
Makefile
PORTNAME= kalker
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.2.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= ashish@FreeBSD.org
|
|
COMMENT= Scientific calculator that supports math-like syntax
|
|
WWW= https://kalker.xyz/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libmpc.so:math/mpc \
|
|
libmpfr.so:math/mpfr
|
|
|
|
USES= cargo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= PaddiM8
|
|
CARGO_CARGOTOML= ${WRKSRC}/cli/Cargo.toml
|
|
CARGO_INSTALL_PATH= ./cli
|
|
PLIST_FILES= bin/kalker
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC_crate_gmp-mpfr-sys}/build.rs
|
|
|
|
.include <bsd.port.mk>
|