svn commit: r529279 - in head/math: . gf2x
Thierry Thomas
thierry at FreeBSD.org
Fri Mar 27 19:15:34 UTC 2020
Author: thierry
Date: Fri Mar 27 19:08:00 2020
New Revision: 529279
URL: https://svnweb.freebsd.org/changeset/ports/529279
Log:
Adding gf2x, a library for multiplying polynomials over the binary field.
To be used from SageMath and NTL.
Added:
head/math/gf2x/
head/math/gf2x/Makefile (contents, props changed)
head/math/gf2x/distinfo (contents, props changed)
head/math/gf2x/pkg-descr (contents, props changed)
head/math/gf2x/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Fri Mar 27 18:57:28 2020 (r529278)
+++ head/math/Makefile Fri Mar 27 19:08:00 2020 (r529279)
@@ -275,6 +275,7 @@
SUBDIR += geogram
SUBDIR += geonext
SUBDIR += gexpr
+ SUBDIR += gf2x
SUBDIR += gfan
SUBDIR += gfanlib
SUBDIR += ggobi
Added: head/math/gf2x/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gf2x/Makefile Fri Mar 27 19:08:00 2020 (r529279)
@@ -0,0 +1,38 @@
+# Created by: thierry at pompo.net
+# $FreeBSD$
+
+PORTNAME= gf2x
+PORTVERSION= 1.3.0
+CATEGORIES= math
+MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38243/
+
+MAINTAINER= thierry at FreeBSD.org
+COMMENT= Library for multiplying polynomials over the binary field
+
+LICENSE= GPLv3 LGPL21
+LICENSE_COMB= dual
+LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
+LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
+
+USES= libtool
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+TEST_TARGET= check
+
+OPTIONS_RADIO= LIC
+OPTIONS_RADIO_LIC= LIC_GPLV3 LIC_LGPL21
+OPTIONS_DEFAULT= LIC_GPLV3
+LIC_GPLV3_DESC= Choose the GPLv3 version
+LIC_LGPL21_DESC= Choose the LGPL 2.1 version
+
+.include <bsd.port.options.mk>
+
+post-extract:
+.if ${PORT_OPTIONS:MLIC_LGPL21}
+ ${MV} ${WRKSRC}/toom-gpl.c ${WRKSRC}/toom-gpl.c.GPLv3
+ ${MV} ${WRKSRC}/toom-gpl-placeholder.c ${WRKSRC}/toom-gpl.c
+.endif
+
+.include <bsd.port.mk>
Added: head/math/gf2x/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gf2x/distinfo Fri Mar 27 19:08:00 2020 (r529279)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585325011
+SHA256 (gf2x-1.3.0.tar.gz) = 9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59
+SIZE (gf2x-1.3.0.tar.gz) = 727717
Added: head/math/gf2x/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gf2x/pkg-descr Fri Mar 27 19:08:00 2020 (r529279)
@@ -0,0 +1,8 @@
+gf2x is a C/C++ software package containing routines for fast arithmetic in
+GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive
+trinomials.
+
+Note: this port provides either a LGPL or a GPLv3 (default) version, and you
+can make your choice with the option.
+
+WWW: http://gf2x.gforge.inria.fr/
Added: head/math/gf2x/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gf2x/pkg-plist Fri Mar 27 19:08:00 2020 (r529279)
@@ -0,0 +1,20 @@
+include/gf2x.h
+include/gf2x/gf2x-config-export.h
+include/gf2x/gf2x-config.h
+include/gf2x/gf2x-impl-export.h
+include/gf2x/gf2x-small.h
+include/gf2x/gf2x-thresholds.h
+include/gf2x/gf2x_mul1.h
+include/gf2x/gf2x_mul2.h
+include/gf2x/gf2x_mul3.h
+include/gf2x/gf2x_mul4.h
+include/gf2x/gf2x_mul5.h
+include/gf2x/gf2x_mul6.h
+include/gf2x/gf2x_mul7.h
+include/gf2x/gf2x_mul8.h
+include/gf2x/gf2x_mul9.h
+lib/libgf2x.a
+lib/libgf2x.so
+lib/libgf2x.so.3
+lib/libgf2x.so.3.0.0
+libdata/pkgconfig/gf2x.pc
More information about the svn-ports-head
mailing list