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.