Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2022 05:25:16 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a972585d54a - main - math/calcium: New port: Exact real and complex numbers in C
Message-ID:  <202206290525.25T5PGqj072377@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a972585d54a8b5c7c9b2ff06f6f10637bc7f2d1

commit 1a972585d54a8b5c7c9b2ff06f6f10637bc7f2d1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-29 01:53:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-29 05:25:08 +0000

    math/calcium: New port: Exact real and complex numbers in C
---
 math/Makefile          |  1 +
 math/calcium/Makefile  | 30 ++++++++++++++++++++++++++++++
 math/calcium/distinfo  |  3 +++
 math/calcium/pkg-descr |  6 ++++++
 math/calcium/pkg-plist | 16 ++++++++++++++++
 5 files changed, 56 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 82f1307f96c7..ff9aba7d274f 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -201,6 +201,7 @@
     SUBDIR += cadical
     SUBDIR += cado-nfs
     SUBDIR += calc
+    SUBDIR += calcium
     SUBDIR += calcoo
     SUBDIR += cantor
     SUBDIR += casadi
diff --git a/math/calcium/Makefile b/math/calcium/Makefile
new file mode 100644
index 000000000000..86689d6c1d61
--- /dev/null
+++ b/math/calcium/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	calcium
+DISTVERSION=	0.4.1
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Exact real and complex numbers in C
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libantic.so:math/antic \
+		libarb.so:math/arb \
+		libflint.so:math/flint2 \
+		libgmp.so:math/gmp \
+		libmpfr.so:math/mpfr
+
+USES=		gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	fredrik-johansson
+
+GNU_CONFIGURE=	yes
+
+TEST_TARGET=	tests # only builds tests and doesn't run them, see https://github.com/fredrik-johansson/calcium/issues/41
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcalcium.so.${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/math/calcium/distinfo b/math/calcium/distinfo
new file mode 100644
index 000000000000..6c446e16f554
--- /dev/null
+++ b/math/calcium/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1656446777
+SHA256 (fredrik-johansson-calcium-0.4.1_GH0.tar.gz) = 5fbc997e8c9e76c88cd85c12a86f0f14c4ebe602e9f7f11e11f0ca1f89c5d81c
+SIZE (fredrik-johansson-calcium-0.4.1_GH0.tar.gz) = 435261
diff --git a/math/calcium/pkg-descr b/math/calcium/pkg-descr
new file mode 100644
index 000000000000..ed0491f6e4a7
--- /dev/null
+++ b/math/calcium/pkg-descr
@@ -0,0 +1,6 @@
+Calcium is a C library for exact computation with real and complex
+numbers. It is capable of rigorously deciding the truth of any
+constant relation involving algebraic numbers and many relations
+involving transcendental number.
+
+WWW: https://fredrikj.net/calcium/
diff --git a/math/calcium/pkg-plist b/math/calcium/pkg-plist
new file mode 100644
index 000000000000..82efa1e806c0
--- /dev/null
+++ b/math/calcium/pkg-plist
@@ -0,0 +1,16 @@
+include/calcium/ca.h
+include/calcium/ca_ext.h
+include/calcium/ca_field.h
+include/calcium/ca_mat.h
+include/calcium/ca_poly.h
+include/calcium/ca_vec.h
+include/calcium/calcium.h
+include/calcium/fexpr.h
+include/calcium/fexpr_builtin.h
+include/calcium/fmpz_mpoly_q.h
+include/calcium/qqbar.h
+include/calcium/utils_flint.h
+lib/libcalcium.a
+lib/libcalcium.so
+lib/libcalcium.so.0
+lib/libcalcium.so.0.4.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206290525.25T5PGqj072377>