Created attachment 196896 [details] gfan shar file The two ports are related logicaly but there is no dependency between them. The port math/cddlib is a needed dependency not yet committed to the port tree. You can find it here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231161 . I am porting gfanlib because I am working at porting CoCoA, which has gfanlib as optional dependency.
Created attachment 196897 [details] gfanlib shar file
Created attachment 196902 [details] gfanlib shar file Corrects first gfanlib shar file by adding missing headers.
Created attachment 196965 [details] gfanlib shar file - correction 1 I moved the headers from include to include/gfanlib for better compatibility with software such as CoCoALib.
Created attachment 197624 [details] gfan shar file - correction 1 I have done some style corrections based on the suggestions I received on bug #231807.
A commit references this bug: Author: tobik Date: Fri Feb 8 09:27:35 UTC 2019 New revision: 492416 URL: https://svnweb.freebsd.org/changeset/ports/492416 Log: New ports: math/gfan, math/gfanlib Gfan is a software package for computing Groebner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. The maximal cones of a Groebner fan are in bijection with the marked reduced Groebner bases of its defining ideal. The software computes all marked reduced Groebner bases of an ideal. Their union is a universal Greobner basis. The tropical variety of a polynomial ideal is a certain subcomplex of the Groebner fan. Gfan contains algorithms for computing this complex for general ideals and specialized algorithms for tropical curves, tropical hypersurfaces and tropical varieties of prime ideals. In addition to the above core functions the package contains many tools which are useful in the study of Groebner bases, initial ideals and tropical geometry. WWW: http://home.math.au.dk/jensen/software/gfan/gfan.html PR: 231186 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch> Changes: head/math/Makefile head/math/gfan/ head/math/gfan/Makefile head/math/gfan/distinfo head/math/gfan/files/ head/math/gfan/files/patch-Makefile head/math/gfan/files/patch-testsuite_0008PolynomialSetUnion_output head/math/gfan/pkg-descr head/math/gfan/pkg-message head/math/gfan/pkg-plist head/math/gfanlib/ head/math/gfanlib/Makefile head/math/gfanlib/distinfo head/math/gfanlib/pkg-descr head/math/gfanlib/pkg-plist