diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-30 15:15:28 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-30 15:15:28 +0000 |
commit | ad89aca8b3350c4581e1272e90a21c31c97ee859 (patch) | |
tree | aefd388485d8a229077e762fbe451e9f62030c71 /math/libhomfly | |
parent | science/afni: update to 20.1.05 (diff) |
Adding libhomfly, a library to compute the homfly polynomial of a link.
To be used by SageMath.
Notes
Notes:
svn path=/head/; revision=533461
Diffstat (limited to 'math/libhomfly')
-rw-r--r-- | math/libhomfly/Makefile | 30 | ||||
-rw-r--r-- | math/libhomfly/distinfo | 3 | ||||
-rw-r--r-- | math/libhomfly/files/patch-configure.ac | 8 | ||||
-rw-r--r-- | math/libhomfly/pkg-descr | 8 |
4 files changed, 49 insertions, 0 deletions
diff --git a/math/libhomfly/Makefile b/math/libhomfly/Makefile new file mode 100644 index 000000000000..5d053e8a9634 --- /dev/null +++ b/math/libhomfly/Makefile @@ -0,0 +1,30 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= libhomfly +DISTVERSION= 1.02r6 +CATEGORIES= math + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Library to compute the homfly polynomial of knots and link + +LICENSE= PD + +LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded + +USE_GITHUB= yes +GH_ACCOUNT= miguelmarco + +USES= autoreconf libtool localbase + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +TEST_TARGET= check + +PLIST_FILES= include/homfly.h \ + lib/libhomfly.a \ + lib/libhomfly.so \ + lib/libhomfly.so.0 \ + lib/libhomfly.so.0.0.0 + +.include <bsd.port.mk> diff --git a/math/libhomfly/distinfo b/math/libhomfly/distinfo new file mode 100644 index 000000000000..4c66f5e0a200 --- /dev/null +++ b/math/libhomfly/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1588250209 +SHA256 (miguelmarco-libhomfly-1.02r6_GH0.tar.gz) = cf5d5031c905318127c83fdffc891deb097c77ee48cdd0131f839ea6ecb64a84 +SIZE (miguelmarco-libhomfly-1.02r6_GH0.tar.gz) = 24498 diff --git a/math/libhomfly/files/patch-configure.ac b/math/libhomfly/files/patch-configure.ac new file mode 100644 index 000000000000..cb366c337c12 --- /dev/null +++ b/math/libhomfly/files/patch-configure.ac @@ -0,0 +1,8 @@ +--- configure.ac.orig 2018-11-08 13:08:16 UTC ++++ configure.ac +@@ -1,4 +1,4 @@ +-AC_INIT([libhomfly], [1.02r5], [mmarco@unizar.es]) ++AC_INIT([libhomfly], [1.02r6], [mmarco@unizar.es]) + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_MACRO_DIR([m4]) + AM_INIT_AUTOMAKE([foreign -Wall]) diff --git a/math/libhomfly/pkg-descr b/math/libhomfly/pkg-descr new file mode 100644 index 000000000000..6785963e4299 --- /dev/null +++ b/math/libhomfly/pkg-descr @@ -0,0 +1,8 @@ +Library to compute the homfly polynomial of a link + +This is basically a conversion of the program written by Robert J Jenkins Jr +into a shared library. It accepts as entry a character string, formatted in the +same way as the input files that the original code used. The returned value is +the string that the original program would print on screen. + +WWW: https://github.com/miguelmarco/libhomfly |