From nobody Wed Aug 14 00:25:57 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wk8Dj5VWcz5SF0Z; Wed, 14 Aug 2024 00:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wk8Dj4yTYz4Ztq; Wed, 14 Aug 2024 00:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723595157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hbpRFjPQbxqTDsRoGrb2nSyJx+X8hTxo7E+vfTkGYx4=; b=qM2BFZ/yndT4vJxwAFlndPOqyMm/m6aJbGJHLeattdQ43I+SXDDT7JWmsngoeb/mOLE0Cf G9KE3DzYaUnCyHH+MVufeA3ZXI+poVrCYJvrTi0NBRyd1wVHDKS5EitEq3rnqUugQPN/42 7+F6Nx3NVRv+/TgQw3XSFSfb8ho7VsQ01tD4PttPfYA9zqWDcESx+ewtpJwaDIOznXLUGT +yDxRgeMfnuG9NqDcbKKoRqtKn+D/35hivXg0Ey0QAz9QburufazuCQOD0RwHOJYjpuRcU e9dnEq0MXtjhjFFn2XWGbBmjoUDmrarNusXd4nQW9WIcSs+iD7Zb1Z4oKTh7sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723595157; a=rsa-sha256; cv=none; b=tolQaGligcwrGO/PvhkYOpZTK0Pju6AA5HwmuoQ1lL7pnCzCpwP/Mc12cMYDKvG7Urh3rN kQaQtOTtGh8fi+zpZ2lReP27Y4V6CCLp921Ec3OxcvrV+/5rcKGATrZQ2BvvBoxzTPK2SO r9DtzmC+uE5HTzsRs4F/gMj6mnNPeoqqneZoLJDPlR2GvsQ6dQnDFhiSsQoBaCg0DJ5qj8 1TUT2q55j7bpTQy7eR8z0QKSMO5dJEW/ah7+8NgQvjAaH8ajOcGlALyUnw7KiU5oqZqtvp 5YL+MWVHEbmcjtNxBYMgHl/sQ2N1EguNqGJR8AjWVSu/+0TiY+PUSs062xrWSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723595157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hbpRFjPQbxqTDsRoGrb2nSyJx+X8hTxo7E+vfTkGYx4=; b=SQnS9YcQr/JGWxA2dELzyQ7zQcgoYa6LHz5lRLqFR3QsszOgJkRxHPwoMBfAXKGTARpfWe 805+iIPelYmpBCErtSISnk0FvF98iGEJv7WNq08V3MOtuP2c9pcNrHLx89Mk+Xi0Wa3LgK RTEJJ7k2q48MDGqJK3LEphA0tzGK2jatbxTSxASQNnnS5ADLuTxm8lz4CCdZISVooPtNwb TxrOfHU3Hi+mU6W+Aj4wqrOaLvMYimHbU2CZM+zBx6PcgtJpRMHexHX9BndYqVXVUnIc59 SwfKlwR0mWt4PmOMwS1u6R3vxy9rNIwydCif+XxAR3Hbcfw0TM0UwA93K5T5Pg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wk8Dj4VCtzXyC; Wed, 14 Aug 2024 00:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47E0Pvpn046493; Wed, 14 Aug 2024 00:25:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47E0PvAO046491; Wed, 14 Aug 2024 00:25:57 GMT (envelope-from git) Date: Wed, 14 Aug 2024 00:25:57 GMT Message-Id: <202408140025.47E0PvAO046491@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 7b157ac5264d - main - math/quich: New port: Terminal based advanced calculator List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b157ac5264d8767e48759d362801c9ead26710a Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b157ac5264d8767e48759d362801c9ead26710a commit 7b157ac5264d8767e48759d362801c9ead26710a Author: Tiago Gasiba AuthorDate: 2024-08-14 00:12:04 +0000 Commit: Daniel Engberg 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 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.