git: 7814e3977811 - main - math/intx: New port: Extended precision integer library

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 21:16:06 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7814e3977811c1a7a30d64d1387c40fdd4a176c1

commit 7814e3977811c1a7a30d64d1387c40fdd4a176c1
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-01-13 21:15:08 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-01-13 21:16:04 +0000

    math/intx: New port: Extended precision integer library
---
 math/Makefile       |  1 +
 math/intx/Makefile  | 19 +++++++++++++++++++
 math/intx/distinfo  |  3 +++
 math/intx/pkg-descr |  3 +++
 math/intx/pkg-plist |  4 ++++
 5 files changed, 30 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 8bbb621ccf88..30f680a9d259 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -363,6 +363,7 @@
     SUBDIR += igraph
     SUBDIR += iml
     SUBDIR += intervaltree
+    SUBDIR += intx
     SUBDIR += ipopt
     SUBDIR += ised
     SUBDIR += jacal
diff --git a/math/intx/Makefile b/math/intx/Makefile
new file mode 100644
index 000000000000..0aabdd9aa8ef
--- /dev/null
+++ b/math/intx/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	intx
+PORTVERSION=	0.7.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	math
+
+MAINTAINER=	nc@FreeBSD.org
+COMMENT=	Extended precision integer library
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	chfast
+
+CMAKE_OFF=	INTX_TESTING
+
+.include <bsd.port.mk>
+
diff --git a/math/intx/distinfo b/math/intx/distinfo
new file mode 100644
index 000000000000..439e9f79f34c
--- /dev/null
+++ b/math/intx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642107687
+SHA256 (chfast-intx-v0.7.0_GH0.tar.gz) = 2c0656f4248a2264284590fb0308978a546c78521921e560a23816d80107e20c
+SIZE (chfast-intx-v0.7.0_GH0.tar.gz) = 52180
diff --git a/math/intx/pkg-descr b/math/intx/pkg-descr
new file mode 100644
index 000000000000..622b346977cb
--- /dev/null
+++ b/math/intx/pkg-descr
@@ -0,0 +1,3 @@
+intx is an Extended precision integer C++ library.
+
+WWW: https://github.com/chfast/intx
diff --git a/math/intx/pkg-plist b/math/intx/pkg-plist
new file mode 100644
index 000000000000..59b6e982aa82
--- /dev/null
+++ b/math/intx/pkg-plist
@@ -0,0 +1,4 @@
+include/intx/intx.hpp
+lib/cmake/intx/intxConfig.cmake
+lib/cmake/intx/intxConfigVersion.cmake
+lib/cmake/intx/intxTargets.cmake