blob: 3231cdb673019b2292fe6ca7947697d2d0b1cb53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= kalker
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.4
PORTREVISION= 1
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
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>
|