Date: Sun, 3 Oct 2021 19:12:11 GMT From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: de91090efbbd - main - math/kalker: New port: Scientific calculator that supports math syntax Message-ID: <202110031912.193JCBGj027318@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=de91090efbbd21ea6a63e5e8cd2d3fd9c82d7ce3 commit de91090efbbd21ea6a63e5e8cd2d3fd9c82d7ce3 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2021-10-03 19:09:03 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2021-10-03 19:11:25 +0000 math/kalker: New port: Scientific calculator that supports math syntax A scientific calculator that supports math-like syntax with user-defined variables, functions, derivation, integration, and complex numbers. WWW: https://kalker.xyz/ --- math/Makefile | 1 + math/kalker/Makefile | 93 +++++++++++++++ math/kalker/distinfo | 129 +++++++++++++++++++++ ...966f4bfb56c87d407eb14c72e92ef4e55856aa_build.rs | 36 ++++++ .../files/patch-cargo-crates_rug-1.11.0_Cargo.toml | 10 ++ math/kalker/pkg-descr | 5 + 6 files changed, 274 insertions(+) diff --git a/math/Makefile b/math/Makefile index 7aa8d08bcd4e..974b74fde1eb 100644 --- a/math/Makefile +++ b/math/Makefile @@ -372,6 +372,7 @@ SUBDIR += jtransforms SUBDIR += jts SUBDIR += kalgebra + SUBDIR += kalker SUBDIR += kbruch SUBDIR += kcalc SUBDIR += kfr diff --git a/math/kalker/Makefile b/math/kalker/Makefile new file mode 100644 index 000000000000..7b0aa2d7f219 --- /dev/null +++ b/math/kalker/Makefile @@ -0,0 +1,93 @@ +PORTNAME= kalker +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.1 +DISTVERSIONSUFFIX= -2 +CATEGORIES= math + +MAINTAINER= ashish@FreeBSD.org +COMMENT= Scientific calculator that supports math-like syntax + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgmp.so:math/gmp \ + libmpc.so:math/mpc + +USES= cargo +USE_GITHUB= yes + +GH_ACCOUNT= PaddiM8 +USE_GITLAB= nodefault +GMP_REV= 21966f4bfb56c87d407eb14c72e92ef4e55856aa +GL_TUPLE= https://gitlab.com:tspiteri:gmp-mpfr-sys:${GMP_REV}:gmpmpfrsys +CARGO_CRATES= aho-corasick-0.7.15 \ + ansi_term-0.12.1 \ + atty-0.2.14 \ + az-1.0.0 \ + bitflags-1.2.1 \ + bumpalo-3.4.0 \ + cc-1.0.66 \ + cfg-if-0.1.10 \ + cfg-if-1.0.0 \ + console_error_panic_hook-0.1.6 \ + dirs-3.0.2 \ + dirs-next-2.0.0 \ + dirs-sys-0.3.6 \ + dirs-sys-next-0.1.1 \ + fs2-0.4.3 \ + getrandom-0.1.15 \ + getrandom-0.2.3 \ + hermit-abi-0.1.18 \ + js-sys-0.3.46 \ + lazy_static-1.4.0 \ + libc-0.2.81 \ + log-0.4.11 \ + memchr-2.3.4 \ + nix-0.19.1 \ + proc-macro2-1.0.24 \ + quote-1.0.7 \ + redox_syscall-0.1.57 \ + redox_syscall-0.2.10 \ + redox_users-0.3.5 \ + redox_users-0.4.0 \ + regex-1.4.2 \ + regex-syntax-0.6.21 \ + rug-1.11.0 \ + rustyline-7.1.0 \ + scoped-tls-1.0.0 \ + scopeguard-1.1.0 \ + seahorse-1.1.1 \ + serde-1.0.118 \ + syn-1.0.54 \ + test-case-1.0.0 \ + thread_local-1.0.1 \ + toml-0.5.7 \ + unicode-segmentation-1.7.1 \ + unicode-width-0.1.8 \ + unicode-xid-0.2.1 \ + utf8parse-0.2.0 \ + version_check-0.9.2 \ + wasi-0.9.0+wasi-snapshot-preview1 \ + wasi-0.10.2+wasi-snapshot-preview1 \ + wasm-bindgen-0.2.69 \ + wasm-bindgen-backend-0.2.69 \ + wasm-bindgen-futures-0.4.19 \ + wasm-bindgen-macro-0.2.69 \ + wasm-bindgen-macro-support-0.2.69 \ + wasm-bindgen-shared-0.2.69 \ + wasm-bindgen-test-0.3.19 \ + wasm-bindgen-test-macro-0.3.19 \ + web-sys-0.3.46 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + winres-0.1.11 +CARGO_USE_GITLAB= yes +CARGO_CARGOTOML= ${WRKSRC}/cli/Cargo.toml +CARGO_INSTALL_PATH= ./cli +PLIST_FILES= bin/kalker + +post-patch: + ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKDIR}/gmp-mpfr-sys-${GMP_REV}/build.rs + +.include <bsd.port.mk> diff --git a/math/kalker/distinfo b/math/kalker/distinfo new file mode 100644 index 000000000000..8170dafe8839 --- /dev/null +++ b/math/kalker/distinfo @@ -0,0 +1,129 @@ +TIMESTAMP = 1633283021 +SHA256 (rust/crates/aho-corasick-0.7.15.crate) = 7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5 +SIZE (rust/crates/aho-corasick-0.7.15.crate) = 113071 +SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2 +SIZE (rust/crates/ansi_term-0.12.1.crate) = 24838 +SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.crate) = 5470 +SHA256 (rust/crates/az-1.0.0.crate) = e9bcd47d94aa4eb8c076b50fc61a75020789394ffb9bd74a180b3379130f6569 +SIZE (rust/crates/az-1.0.0.crate) = 23069 +SHA256 (rust/crates/bitflags-1.2.1.crate) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 +SIZE (rust/crates/bitflags-1.2.1.crate) = 16745 +SHA256 (rust/crates/bumpalo-3.4.0.crate) = 2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820 +SIZE (rust/crates/bumpalo-3.4.0.crate) = 129102 +SHA256 (rust/crates/cc-1.0.66.crate) = 4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48 +SIZE (rust/crates/cc-1.0.66.crate) = 53454 +SHA256 (rust/crates/cfg-if-0.1.10.crate) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 +SIZE (rust/crates/cfg-if-0.1.10.crate) = 7933 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/console_error_panic_hook-0.1.6.crate) = b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211 +SIZE (rust/crates/console_error_panic_hook-0.1.6.crate) = 501738 +SHA256 (rust/crates/dirs-3.0.2.crate) = 30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309 +SIZE (rust/crates/dirs-3.0.2.crate) = 12184 +SHA256 (rust/crates/dirs-next-2.0.0.crate) = b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1 +SIZE (rust/crates/dirs-next-2.0.0.crate) = 11689 +SHA256 (rust/crates/dirs-sys-0.3.6.crate) = 03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780 +SIZE (rust/crates/dirs-sys-0.3.6.crate) = 10626 +SHA256 (rust/crates/dirs-sys-next-0.1.1.crate) = 99de365f605554ae33f115102a02057d4fc18b01f3284d6870be0938743cfe7d +SIZE (rust/crates/dirs-sys-next-0.1.1.crate) = 10490 +SHA256 (rust/crates/fs2-0.4.3.crate) = 9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213 +SIZE (rust/crates/fs2-0.4.3.crate) = 13138 +SHA256 (rust/crates/getrandom-0.1.15.crate) = fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6 +SIZE (rust/crates/getrandom-0.1.15.crate) = 24786 +SHA256 (rust/crates/getrandom-0.2.3.crate) = 7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753 +SIZE (rust/crates/getrandom-0.2.3.crate) = 26261 +SHA256 (rust/crates/hermit-abi-0.1.18.crate) = 322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c +SIZE (rust/crates/hermit-abi-0.1.18.crate) = 9936 +SHA256 (rust/crates/js-sys-0.3.46.crate) = cf3d7383929f7c9c7c2d0fa596f325832df98c3704f2c60553080f7127a58175 +SIZE (rust/crates/js-sys-0.3.46.crate) = 67064 +SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 +SHA256 (rust/crates/libc-0.2.81.crate) = 1482821306169ec4d07f6aca392a4681f66c75c9918aa49641a2595db64053cb +SIZE (rust/crates/libc-0.2.81.crate) = 513105 +SHA256 (rust/crates/log-0.4.11.crate) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b +SIZE (rust/crates/log-0.4.11.crate) = 36276 +SHA256 (rust/crates/memchr-2.3.4.crate) = 0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525 +SIZE (rust/crates/memchr-2.3.4.crate) = 23077 +SHA256 (rust/crates/nix-0.19.1.crate) = b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2 +SIZE (rust/crates/nix-0.19.1.crate) = 213462 +SHA256 (rust/crates/proc-macro2-1.0.24.crate) = 1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71 +SIZE (rust/crates/proc-macro2-1.0.24.crate) = 37716 +SHA256 (rust/crates/quote-1.0.7.crate) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37 +SIZE (rust/crates/quote-1.0.7.crate) = 25170 +SHA256 (rust/crates/redox_syscall-0.1.57.crate) = 41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce +SIZE (rust/crates/redox_syscall-0.1.57.crate) = 17087 +SHA256 (rust/crates/redox_syscall-0.2.10.crate) = 8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff +SIZE (rust/crates/redox_syscall-0.2.10.crate) = 23582 +SHA256 (rust/crates/redox_users-0.3.5.crate) = de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d +SIZE (rust/crates/redox_users-0.3.5.crate) = 12644 +SHA256 (rust/crates/redox_users-0.4.0.crate) = 528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64 +SIZE (rust/crates/redox_users-0.4.0.crate) = 13023 +SHA256 (rust/crates/regex-1.4.2.crate) = 38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c +SIZE (rust/crates/regex-1.4.2.crate) = 236931 +SHA256 (rust/crates/regex-syntax-0.6.21.crate) = 3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189 +SIZE (rust/crates/regex-syntax-0.6.21.crate) = 293572 +SHA256 (rust/crates/rug-1.11.0.crate) = e538d00da450a8e48aac7e6322e67b2dc86ec71a1feeac0e3954c4f07f01bc45 +SIZE (rust/crates/rug-1.11.0.crate) = 254044 +SHA256 (rust/crates/rustyline-7.1.0.crate) = 8227301bfc717136f0ecbd3d064ba8199e44497a0bdd46bb01ede4387cfd2cec +SIZE (rust/crates/rustyline-7.1.0.crate) = 88494 +SHA256 (rust/crates/scoped-tls-1.0.0.crate) = ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2 +SIZE (rust/crates/scoped-tls-1.0.0.crate) = 9146 +SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 +SHA256 (rust/crates/seahorse-1.1.1.crate) = ce7d9440e2865cce0db733bdc530591b37d37a2d32badace34a1fc9ba5686d58 +SIZE (rust/crates/seahorse-1.1.1.crate) = 13622 +SHA256 (rust/crates/serde-1.0.118.crate) = 06c64263859d87aa2eb554587e2d23183398d617427327cf2b3d0ed8c69e4800 +SIZE (rust/crates/serde-1.0.118.crate) = 74248 +SHA256 (rust/crates/syn-1.0.54.crate) = 9a2af957a63d6bd42255c359c93d9bfdb97076bd3b820897ce55ffbfbf107f44 +SIZE (rust/crates/syn-1.0.54.crate) = 228322 +SHA256 (rust/crates/test-case-1.0.0.crate) = 199464148b42bcf3da8b2a56f6ee87ca68f47402496d1268849291ec9fb463c8 +SIZE (rust/crates/test-case-1.0.0.crate) = 10986 +SHA256 (rust/crates/thread_local-1.0.1.crate) = d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14 +SIZE (rust/crates/thread_local-1.0.1.crate) = 12609 +SHA256 (rust/crates/toml-0.5.7.crate) = 75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645 +SIZE (rust/crates/toml-0.5.7.crate) = 54372 +SHA256 (rust/crates/unicode-segmentation-1.7.1.crate) = bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796 +SIZE (rust/crates/unicode-segmentation-1.7.1.crate) = 93066 +SHA256 (rust/crates/unicode-width-0.1.8.crate) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 +SIZE (rust/crates/unicode-width-0.1.8.crate) = 16732 +SHA256 (rust/crates/unicode-xid-0.2.1.crate) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564 +SIZE (rust/crates/unicode-xid-0.2.1.crate) = 14392 +SHA256 (rust/crates/utf8parse-0.2.0.crate) = 936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372 +SIZE (rust/crates/utf8parse-0.2.0.crate) = 13392 +SHA256 (rust/crates/version_check-0.9.2.crate) = b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed +SIZE (rust/crates/version_check-0.9.2.crate) = 11979 +SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519 +SIZE (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = 31521 +SHA256 (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6 +SIZE (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = 27505 +SHA256 (rust/crates/wasm-bindgen-0.2.69.crate) = 3cd364751395ca0f68cafb17666eee36b63077fb5ecd972bbcd74c90c4bf736e +SIZE (rust/crates/wasm-bindgen-0.2.69.crate) = 159046 +SHA256 (rust/crates/wasm-bindgen-backend-0.2.69.crate) = 1114f89ab1f4106e5b55e688b828c0ab0ea593a1ea7c094b141b14cbaaec2d62 +SIZE (rust/crates/wasm-bindgen-backend-0.2.69.crate) = 25508 +SHA256 (rust/crates/wasm-bindgen-futures-0.4.19.crate) = 1fe9756085a84584ee9457a002b7cdfe0bfff169f45d2591d8be1345a6780e35 +SIZE (rust/crates/wasm-bindgen-futures-0.4.19.crate) = 13865 +SHA256 (rust/crates/wasm-bindgen-macro-0.2.69.crate) = 7a6ac8995ead1f084a8dea1e65f194d0973800c7f571f6edd70adf06ecf77084 +SIZE (rust/crates/wasm-bindgen-macro-0.2.69.crate) = 11596 +SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.69.crate) = b5a48c72f299d80557c7c62e37e7225369ecc0c963964059509fbafe917c7549 +SIZE (rust/crates/wasm-bindgen-macro-support-0.2.69.crate) = 17844 +SHA256 (rust/crates/wasm-bindgen-shared-0.2.69.crate) = 7e7811dd7f9398f14cc76efd356f98f03aa30419dea46aa810d71e819fc97158 +SIZE (rust/crates/wasm-bindgen-shared-0.2.69.crate) = 6726 +SHA256 (rust/crates/wasm-bindgen-test-0.3.19.crate) = 0355fa0c1f9b792a09b6dcb6a8be24d51e71e6d74972f9eb4a44c4c004d24a25 +SIZE (rust/crates/wasm-bindgen-test-0.3.19.crate) = 15612 +SHA256 (rust/crates/wasm-bindgen-test-macro-0.3.19.crate) = 27e07b46b98024c2ba2f9e83a10c2ef0515f057f2da299c1762a2017de80438b +SIZE (rust/crates/wasm-bindgen-test-macro-0.3.19.crate) = 6375 +SHA256 (rust/crates/web-sys-0.3.46.crate) = 222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3 +SIZE (rust/crates/web-sys-0.3.46.crate) = 648005 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (rust/crates/winres-0.1.11.crate) = ff4fb510bbfe5b8992ff15f77a2e6fe6cf062878f0eda00c0f44963a807ca5dc +SIZE (rust/crates/winres-0.1.11.crate) = 18369 +SHA256 (PaddiM8-kalker-v1.0.1-2_GH0.tar.gz) = 9f257f2c375a18a8ed988c2047876f5d5dd31adb85b70956fc3c7081d53c9b14 +SIZE (PaddiM8-kalker-v1.0.1-2_GH0.tar.gz) = 713141 +SHA256 (tspiteri-gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa_GL0.tar.gz) = 2c396680d3f749c2213f2cdc9dd4d9316f394b7076ba32abd5cf0de7090a8b2e +SIZE (tspiteri-gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa_GL0.tar.gz) = 5448468 diff --git a/math/kalker/files/patch-.._gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa_build.rs b/math/kalker/files/patch-.._gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa_build.rs new file mode 100644 index 000000000000..5e8c1fbc4a1a --- /dev/null +++ b/math/kalker/files/patch-.._gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa_build.rs @@ -0,0 +1,36 @@ +--- ../gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/build.rs.orig 2021-10-03 17:55:55 UTC ++++ ../gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/build.rs +@@ -179,7 +179,7 @@ + + cmd = Command::new(&env.c_compiler); + cmd.current_dir(&try_dir) +- .args(&["-fPIC", "system_gmp.c", "-lgmp", "-o", "system_gmp.exe"]); ++ .args(&["-fPIC", "-L%%LOCALBASE%%/lib", "-I%%LOCALBASE%%/include", "system_gmp.c", "-lgmp", "-o", "system_gmp.exe"]); + execute(cmd); + + cmd = Command::new(try_dir.join("system_gmp.exe")); +@@ -202,6 +202,7 @@ + cmd = Command::new(&env.c_compiler); + cmd.current_dir(&try_dir).args(&[ + "-fPIC", ++ "-L%%LOCALBASE%%/lib", "-I%%LOCALBASE%%/include", + "system_mpfr.c", + "-lmpfr", + "-lgmp", +@@ -228,6 +229,7 @@ + cmd = Command::new(&env.c_compiler); + cmd.current_dir(&try_dir).args(&[ + "-fPIC", ++ "-L%%LOCALBASE%%/lib", "-I%%LOCALBASE%%/include", + "system_mpc.c", + "-lmpc", + "-lgmp", +@@ -974,7 +976,7 @@ + println!("cargo:out_dir={}", out_str); + println!("cargo:lib_dir={}", lib_str); + println!("cargo:include_dir={}", include_str); +- println!("cargo:rustc-link-search=native={}", lib_str); ++ println!("cargo:rustc-link-search=native={}/lib", "%%LOCALBASE%%"); + let maybe_static = if env.use_system_libs { "" } else { "static=" }; + if feature_mpc { + println!("cargo:rustc-link-lib={}mpc", maybe_static); diff --git a/math/kalker/files/patch-cargo-crates_rug-1.11.0_Cargo.toml b/math/kalker/files/patch-cargo-crates_rug-1.11.0_Cargo.toml new file mode 100644 index 000000000000..edbe82733afa --- /dev/null +++ b/math/kalker/files/patch-cargo-crates_rug-1.11.0_Cargo.toml @@ -0,0 +1,10 @@ +--- cargo-crates/rug-1.11.0/Cargo.toml.orig 2021-10-03 17:55:55 UTC ++++ cargo-crates/rug-1.11.0/Cargo.toml +@@ -31,6 +31,7 @@ version = "1" + version = "~1.4" + optional = true + default-features = false ++features = [ "use-system-libs" ] + + [dependencies.libc] + version = "0.2.44" diff --git a/math/kalker/pkg-descr b/math/kalker/pkg-descr new file mode 100644 index 000000000000..af173b175fb7 --- /dev/null +++ b/math/kalker/pkg-descr @@ -0,0 +1,5 @@ +A scientific calculator that supports math-like syntax with +user-defined variables, functions, derivation, integration, +and complex numbers. + +WWW: https://kalker.xyz/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110031912.193JCBGj027318>