Adding libhomfly, a library to compute the homfly polynomial of a link.

To be used by SageMath.
This commit is contained in:
Thierry Thomas 2020-04-30 15:15:28 +00:00
parent d6efa80dea
commit ad89aca8b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533461
5 changed files with 50 additions and 0 deletions

View file

@ -358,6 +358,7 @@
SUBDIR += libbraiding
SUBDIR += libccd
SUBDIR += libflame
SUBDIR += libhomfly
SUBDIR += liblbfgs
SUBDIR += libmesh
SUBDIR += libmissing

30
math/libhomfly/Makefile Normal file
View file

@ -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>

3
math/libhomfly/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1588250209
SHA256 (miguelmarco-libhomfly-1.02r6_GH0.tar.gz) = cf5d5031c905318127c83fdffc891deb097c77ee48cdd0131f839ea6ecb64a84
SIZE (miguelmarco-libhomfly-1.02r6_GH0.tar.gz) = 24498

View file

@ -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])

8
math/libhomfly/pkg-descr Normal file
View file

@ -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