Date: Wed, 14 Aug 2024 00:25:57 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7b157ac5264d - main - math/quich: New port: Terminal based advanced calculator Message-ID: <202408140025.47E0PvAO046491@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b157ac5264d8767e48759d362801c9ead26710a commit 7b157ac5264d8767e48759d362801c9ead26710a Author: Tiago Gasiba <tiago.gasiba@gmail.com> AuthorDate: 2024-08-14 00:12:04 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-08-14 00:19:05 +0000 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 --- math/Makefile | 1 + math/quich/Makefile | 32 ++++++++++++++++++++++++++++++++ math/quich/distinfo | 5 +++++ math/quich/pkg-descr | 3 +++ 4 files changed, 41 insertions(+) diff --git a/math/Makefile b/math/Makefile index 7949a311dc4d..9ccb99e5f216 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1233,6 +1233,7 @@ SUBDIR += trlib SUBDIR += ttmath SUBDIR += tvmet + SUBDIR += quich SUBDIR += ump SUBDIR += units SUBDIR += universal diff --git a/math/quich/Makefile b/math/quich/Makefile new file mode 100644 index 000000000000..3aa1cd750495 --- /dev/null +++ b/math/quich/Makefile @@ -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> diff --git a/math/quich/distinfo b/math/quich/distinfo new file mode 100644 index 000000000000..3f2f4950f4a5 --- /dev/null +++ b/math/quich/distinfo @@ -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 diff --git a/math/quich/pkg-descr b/math/quich/pkg-descr new file mode 100644 index 000000000000..a99f6447be0f --- /dev/null +++ b/math/quich/pkg-descr @@ -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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408140025.47E0PvAO046491>