summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-01-01 07:23:27 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-01-01 07:23:27 +0000
commitebe72cae0ec78c93c33482d3a1d8ce93c073cdf1 (patch)
tree608d8c32edbf3246b237561d7d0fe21337f1c87c
parentwww/qutebrowser: update to 1.14.1 (diff)
New port: math/sympol: C++ library and tool to work with symmetric polyhedra
-rw-r--r--math/Makefile1
-rw-r--r--math/sympol/Makefile29
-rw-r--r--math/sympol/distinfo3
-rw-r--r--math/sympol/files/patch-CMakeLists.txt15
-rw-r--r--math/sympol/pkg-descr6
-rw-r--r--math/sympol/pkg-plist45
6 files changed, 99 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 055332f17798..e53172a81b65 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -924,6 +924,7 @@
SUBDIR += symengine
SUBDIR += symmetrica
SUBDIR += symphony
+ SUBDIR += sympol
SUBDIR += sympow
SUBDIR += tablix
SUBDIR += taucs
diff --git a/math/sympol/Makefile b/math/sympol/Makefile
new file mode 100644
index 000000000000..095eb6e01124
--- /dev/null
+++ b/math/sympol/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= sympol
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.9
+CATEGORIES= math
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= C++ library and tool to work with symmetric polyhedra
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= permlib>0:math/permlib
+LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \
+ libcddgmp.so:math/cddlib \
+ libgmp.so:math/gmp
+
+USES= cmake eigen:3 localbase:ldflags
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= tremlin
+GH_PROJECT= SymPol
+
+post-install:
+ @${RM} ${STAGEDIR}${PREFIX}/lib/libcddgmp.so
+
+.include <bsd.port.mk>
diff --git a/math/sympol/distinfo b/math/sympol/distinfo
new file mode 100644
index 000000000000..f9fe25340745
--- /dev/null
+++ b/math/sympol/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609481846
+SHA256 (tremlin-SymPol-v0.1.9_GH0.tar.gz) = 6753b8fb30745b66a0886e125c18b539417afcf62b804799eb220bd5a59ccc37
+SIZE (tremlin-SymPol-v0.1.9_GH0.tar.gz) = 234171
diff --git a/math/sympol/files/patch-CMakeLists.txt b/math/sympol/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..8b3d70f0cdf6
--- /dev/null
+++ b/math/sympol/files/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+--- CMakeLists.txt.orig 2016-05-08 19:52:35 UTC
++++ CMakeLists.txt
+@@ -23,8 +23,10 @@ add_test(NAME perltest WORKING_DIRECTORY ${PROJECT_SOU
+
+ add_subdirectory(sympol)
+ add_subdirectory(external/lrslib-042c)
+-add_subdirectory(external/cddlib-094f)
+-add_subdirectory(test)
++#add_subdirectory(external/cddlib-094f)
++if (BUILD_TESTS)
++ add_subdirectory(test)
++endif()
+
+ exec_program( ${CMAKE_COMMAND} ARGS -E copy_directory ${PROJECT_SOURCE_DIR}/data ${PROJECT_BINARY_DIR}/data )
+
diff --git a/math/sympol/pkg-descr b/math/sympol/pkg-descr
new file mode 100644
index 000000000000..828387cd2689
--- /dev/null
+++ b/math/sympol/pkg-descr
@@ -0,0 +1,6 @@
+SymPol is a C++ tool to work with symmetric polyhedra. It helps to compute
+restricted automorphisms (parts of the linear symmetry group) of polyhedra and
+performs polyhedral description conversion up to a given or computed symmetry
+group.
+
+WWW: http://www.math.uni-rostock.de/~rehn/software/sympol.html
diff --git a/math/sympol/pkg-plist b/math/sympol/pkg-plist
new file mode 100644
index 000000000000..bd7bd3cf7848
--- /dev/null
+++ b/math/sympol/pkg-plist
@@ -0,0 +1,45 @@
+bin/sympol
+include/sympol/algorithm.h
+include/sympol/common.h
+include/sympol/computesymmetries.h
+include/sympol/config.h
+include/sympol/configuration.h
+include/sympol/facesuptosymmetrylist.h
+include/sympol/facewithdata.h
+include/sympol/graphconstruction.h
+include/sympol/graphconstructionbliss.h
+include/sympol/graphconstructiondefault.h
+include/sympol/invert.h
+include/sympol/logger.h
+include/sympol/matrix.h
+include/sympol/matrixconstruction.h
+include/sympol/matrixconstructiondefault.h
+include/sympol/matrixconstructioneigen.h
+include/sympol/polyhedron.h
+include/sympol/polyhedrondatastorage.h
+include/sympol/polyhedronio.h
+include/sympol/qarray.h
+include/sympol/rank.h
+include/sympol/raycomputation.h
+include/sympol/raycomputationcdd.h
+include/sympol/raycomputationlrs.h
+include/sympol/recursionstrategy.h
+include/sympol/recursionstrategyadmidmlevel.h
+include/sympol/recursionstrategyidmadm.h
+include/sympol/recursionstrategyidmadmlevel.h
+include/sympol/reportlevel.h
+include/sympol/symmetrycomputation.h
+include/sympol/symmetrycomputationadm.h
+include/sympol/symmetrycomputationadmmemento.h
+include/sympol/symmetrycomputationdirect.h
+include/sympol/symmetrycomputationidm.h
+include/sympol/symmetrycomputationidmmemento.h
+include/sympol/symmetrycomputationmemento.h
+include/sympol/types.h
+include/sympol/usagestats.h
+include/sympol/zmatrix.h
+lib/liblrsgmp.so
+lib/libsympol.so
+lib/libsympol.so.0.1
+lib/libsympol.so.0.1.9
+share/man/man1/sympol.1.gz