New port: math/visualpolylib: Visualization program for PolyLib

This commit is contained in:
Yuri Victorovich 2018-12-07 04:02:58 +00:00
parent df3ae223e9
commit acad61b465
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486820
5 changed files with 54 additions and 0 deletions

View file

@ -871,6 +871,7 @@
SUBDIR += units
SUBDIR += unuran
SUBDIR += viennacl
SUBDIR += visualpolylib
SUBDIR += vowpal_wabbit
SUBDIR += vtk6
SUBDIR += vtk8

View file

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= visualpolylib
DISTVERSION= 0.9
DISTVERSIONSUFFIX= e
CATEGORIES= math
MASTER_SITES= http://icps.u-strasbg.fr/polylib/download/
DISTNAME= ${PORTNAME}.${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Visualization program for PolyLib
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgmp.so:math/gmp \
libpolylibgmp.so:math/polylib
USES= gettext-runtime gmake gnome pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static \
--with-polylib=${LOCALBASE}/lib/libpolylibgmp.so
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1544154010
SHA256 (visualpolylib.0.9e.tar.gz) = 7ec46972d2aa527ec407c604db5518c0884dbe22aa79a25f1f59dbf7984ce981
SIZE (visualpolylib.0.9e.tar.gz) = 433947

View file

@ -0,0 +1,16 @@
--- configure.orig 2018-12-07 03:44:09 UTC
+++ configure
@@ -3502,11 +3502,11 @@ echo "$as_me: error: \"No libpolylib64.s
or give the path with ./configure --with-polylib=LOCATION \"" >&2;}
{ (exit 1); exit 1; }; }
else
- POLY_ADD_FLAGS="-lpolylib64"
+ POLY_ADD_FLAGS="-lpolylibgmp"
fi
else
POLY_LD_FLAGS="${polylibloc}"
- POLY_ADD_FLAGS="-lpolylib64"
+ POLY_ADD_FLAGS="-lpolylibgmp"
fi
echo "$as_me:$LINENO: checking if polylib uses GNUmp" >&5

View file

@ -0,0 +1,5 @@
VisualPolylib is the visualization application for PolyLib, The Polyhedral
Library, that operates on objects made up of unions of polyhedra of any
dimension.
WWW: https://icps.u-strasbg.fr/polylib/