New port: math/topcom: Computing triangulations of point configurations and oriented matroids

This commit is contained in:
Yuri Victorovich
2018-12-06 00:47:35 +00:00
parent 6972d58b69
commit 7d80651298
5 changed files with 146 additions and 0 deletions

View File

@@ -860,6 +860,7 @@
SUBDIR += tmv
SUBDIR += tomsfastmath
SUBDIR += topaz
SUBDIR += topcom
SUBDIR += triangle
SUBDIR += trlan
SUBDIR += truthtable

37
math/topcom/Makefile Normal file
View File

@@ -0,0 +1,37 @@
# $FreeBSD$
PORTNAME= topcom
DISTVERSIONPREFIX= Release_
DISTVERSION= 0.17.8
CATEGORIES= math
MASTER_SITES= http://www.rambau.wm.uni-bayreuth.de/Software/
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Computing triangulations of point configurations and oriented matroids
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcddgmp.so:math/cddlib \
libgmp.so:math/gmp
USES= autoreconf gmake localbase:ldflags
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include/cdd/
LDFLAGS+= -lgmp -lgmpxx -lcddgmp
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
post-extract:
@${RM} -r ${WRKSRC}/external
post-patch:
@${FIND} ${WRKSRC} -name "Makefile*" \
| ${XARGS} ${REINPLACE_CMD} ' \
s|\.\./external/lib/libcddgmp\.a|${LOCALBASE}/lib/libcddgmp.so| ; \
s|\.\./external/lib/libgmp\.a|${LOCALBASE}/lib/libgmp.so| ; \
s|\.\./external/lib/libgmpxx\.a|${LOCALBASE}/lib/libgmpxx.so|'
.include <bsd.port.mk>

3
math/topcom/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1544052159
SHA256 (TOPCOM-0.17.8.tar.gz) = 3f83b98f51ee859ec321bacabf7b172c25884f14848ab6c628326b987bd8aaab
SIZE (TOPCOM-0.17.8.tar.gz) = 8994044

6
math/topcom/pkg-descr Normal file
View File

@@ -0,0 +1,6 @@
TOPCOM is a package for computing Triangulations Of Point Configurations and
Oriented Matroids. It was very much inspired by the maple program PUNTOS, which
was written by Jesus de Loera. TOPCOM is entirely written in C++, so there is a
significant speed up compared to PUNTOS.
WWW: http://www.rambau.wm.uni-bayreuth.de/TOPCOM/

99
math/topcom/pkg-plist Normal file
View File

@@ -0,0 +1,99 @@
bin/B_A
bin/B_A_center
bin/B_D
bin/checkregularity
bin/chiro2allfinetriangs
bin/chiro2alltriangs
bin/chiro2circuits
bin/chiro2cocircuits
bin/chiro2dual
bin/chiro2finetriang
bin/chiro2finetriangs
bin/chiro2mintriang
bin/chiro2nallfinetriangs
bin/chiro2nalltriangs
bin/chiro2nfinetriangs
bin/chiro2ntriangs
bin/chiro2placingtriang
bin/chiro2triangs
bin/cocircuits2facets
bin/cross
bin/cube
bin/cyclic
bin/hypersimplex
bin/lattice
bin/points2allfinetriangs
bin/points2alltriangs
bin/points2chiro
bin/points2facets
bin/points2finetriang
bin/points2finetriangs
bin/points2flips
bin/points2nallfinetriangs
bin/points2nalltriangs
bin/points2nfinetriangs
bin/points2nflips
bin/points2ntriangs
bin/points2placingtriang
bin/points2triangs
bin/points2volume
bin/santos_22_triang
bin/santos_dim4_triang
bin/santos_triang
include/Admissibles.hh
include/Array.hh
include/CheckTriang.hh
include/Chirotope.hh
include/Circuits.hh
include/Cocircuits.hh
include/CommandlineOptions.hh
include/CompressedIntegerSet.hh
include/ComputeTriangs.hh
include/Facets.hh
include/FastSimplicialComplex.hh
include/Field.hh
include/FineTriang.hh
include/Flip.hh
include/Global.hh
include/HashKey.hh
include/HashMap.hh
include/HashSet.hh
include/IndexTableArray.hh
include/Integer.h
include/IntegerSet.hh
include/InteriorFacets.hh
include/LPinterface.hh
include/MarkedFlips.hh
include/Matrix.hh
include/Pair.hh
include/PartialTriang.hh
include/Permutation.hh
include/PlacingTriang.hh
include/PlainArray.hh
include/PlainHashIndexTable.hh
include/PlainHashMap.hh
include/PlainHashSet.hh
include/PlainHashTable.hh
include/PointConfiguration.hh
include/Rational.h
include/RealChiro.hh
include/RefCount.hh
include/RegularityCheck.hh
include/SPXinterface.hh
include/SimplicialComplex.hh
include/SimplicialComplexTemplate.hh
include/SimplicialComplexTemplate_Declarations.hh
include/SimplicialComplexTemplate_Definitions.hh
include/SparseIntegerSet.hh
include/SparseSimplicialComplex.hh
include/StairCaseMatrix.hh
include/SymmetricBFS.hh
include/Symmetry.hh
include/TriangFlips.hh
include/TriangNode.hh
include/Vector.hh
include/VertexFacetTable.hh
include/VertexFacetTableArray.hh
include/VirtualChiro.hh
lib/libCHECKREG.a
lib/libTOPCOM.a