summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-08-09 10:31:48 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-08-09 10:32:19 -0700
commit1e6a60636f46e4518ee5b85c18a19a17345a72f9 (patch)
tree280a6ad9fe106970341b1841b30fc6b15a06a9a8
parentnet/unison232: LIB_DEPENDS+=harfbuzz for X11 (diff)
math/paritwine: New port: Glue library between PARI/GP and other mathematics libraries
-rw-r--r--math/Makefile1
-rw-r--r--math/paritwine/Makefile31
-rw-r--r--math/paritwine/distinfo3
-rw-r--r--math/paritwine/pkg-descr5
-rw-r--r--math/paritwine/pkg-plist7
5 files changed, 47 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 776eb03225bc..7816b60e245e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -733,6 +733,7 @@
SUBDIR += pari_galpol
SUBDIR += pari_nftables
SUBDIR += pari_seadata
+ SUBDIR += paritwine
SUBDIR += parmetis
SUBDIR += parmgridgen
SUBDIR += pdal
diff --git a/math/paritwine/Makefile b/math/paritwine/Makefile
new file mode 100644
index 000000000000..17b202ec310b
--- /dev/null
+++ b/math/paritwine/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= paritwine
+DISTVERSION= 0.1
+CATEGORIES= math
+MASTER_SITES= http://www.multiprecision.org/downloads/
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Glue library between PARI/GP and other mathematics libraries
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libarb.so:math/arb \
+ libcmh.so:math/cmh \
+ libflint.so:math/flint2 \
+ libmpc.so:math/mpc \
+ libmpfr.so:math/mpfr \
+ libgmp.so:math/gmp \
+ libpari.so:math/pari
+
+USES= gmake libtool localbase
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
+INSTALL_TARGET= install-strip
+
+INFO= paritwine
+
+TEST_TARGET= check
+
+.include <bsd.port.mk>
diff --git a/math/paritwine/distinfo b/math/paritwine/distinfo
new file mode 100644
index 000000000000..b629b01e3783
--- /dev/null
+++ b/math/paritwine/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628529438
+SHA256 (paritwine-0.1.tar.gz) = e3c104b02729013ba7e57fb5960a3b82a29e14e11de351431c85ac0f2da8ae5f
+SIZE (paritwine-0.1.tar.gz) = 507029
diff --git a/math/paritwine/pkg-descr b/math/paritwine/pkg-descr
new file mode 100644
index 000000000000..2f98c61b194b
--- /dev/null
+++ b/math/paritwine/pkg-descr
@@ -0,0 +1,5 @@
+PariTwine is a glue library between the system for computer algebra and number
+theory PARI/GP and a number of other mathematics libraries, currently GMP,
+GNU MPFR, GNU MPC, FLINT, ARB and CMH.
+
+WWW: http://www.multiprecision.org/paritwine/home.html
diff --git a/math/paritwine/pkg-plist b/math/paritwine/pkg-plist
new file mode 100644
index 000000000000..60c5cc4ea90e
--- /dev/null
+++ b/math/paritwine/pkg-plist
@@ -0,0 +1,7 @@
+include/paritwine-config.h
+include/paritwine.h
+lib/libparitwine.a
+lib/libparitwine.so
+lib/libparitwine.so.0
+lib/libparitwine.so.0.0.0
+%%DATADIR%%/paritwine.gp