1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/quich: New port: Terminal based advanced calculator

A calculator that supports various functions such as sqrt, abs, log
sin, cos, tan, asin, acos, atan, rand, round, floor and ceil.
It also allows adjustable output, variables etc

https://github.com/Usbac/quich

PR:		280340
This commit is contained in:
Tiago Gasiba 2024-08-14 02:12:04 +02:00 committed by Daniel Engberg
parent c2c636c6ef
commit 7b157ac526
4 changed files with 41 additions and 0 deletions

View File

@ -1233,6 +1233,7 @@
SUBDIR += trlib
SUBDIR += ttmath
SUBDIR += tvmet
SUBDIR += quich
SUBDIR += ump
SUBDIR += units
SUBDIR += universal

32
math/quich/Makefile Normal file
View File

@ -0,0 +1,32 @@
PORTNAME= quich
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.0
CATEGORIES= math
PATCH_SITES= https://github.com/Usbac/quich/commit/
PATCHFILES= 9ddb21a370fe403b6863995f1f2225529a5f0f81.patch:-p1
MAINTAINER= tiago.gasiba@gmail.com
COMMENT= Just an advanced terminal calculator
WWW= https://github.com/Usbac/quich
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= liblinenoise.so:devel/linenoise
USES= cmake compiler:c++11-lib pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= Usbac
CMAKE_ON= CMAKE_SKIP_RPATH
PLIST_FILES= bin/quich
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/.build/quich ${STAGEDIR}${PREFIX}/bin/
do-test:
cd ${WRKDIR}/.build && ./quich_test
.include <bsd.port.mk>

5
math/quich/distinfo Normal file
View File

@ -0,0 +1,5 @@
TIMESTAMP = 1722776154
SHA256 (Usbac-quich-v4.0.0_GH0.tar.gz) = d28d9a3552552bf692b126dacac6bcc2591531b6a44a24cb1285d2d506dadc85
SIZE (Usbac-quich-v4.0.0_GH0.tar.gz) = 25650
SHA256 (9ddb21a370fe403b6863995f1f2225529a5f0f81.patch) = bc32b7092593620c4a9b51fcb173172733bb52dacf9dee7e0161c48965d9b1e1
SIZE (9ddb21a370fe403b6863995f1f2225529a5f0f81.patch) = 2626

3
math/quich/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Quich is a compact, fast, powerful and useful calculator
for your terminal with numerous features, supporting Linux,
Mac and Windows, written in ANSI C.