aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-12-31 20:47:22 +0800
committerthierry <thierry@FreeBSD.org>2008-12-31 20:47:22 +0800
commit7159da58dfaf8eaadc652bdfb23e8b397b549460 (patch)
tree62745516e42ce327070a81b86eb203ee556a01c5 /cad
parent07447ae56a0f7f2172b7d0fec5991327c1accdc0 (diff)
downloadfreebsd-ports-gnome-7159da58dfaf8eaadc652bdfb23e8b397b549460.tar.gz
freebsd-ports-gnome-7159da58dfaf8eaadc652bdfb23e8b397b549460.tar.zst
freebsd-ports-gnome-7159da58dfaf8eaadc652bdfb23e8b397b549460.zip
Prepare for a slave port to support OpenCascade.
Diffstat (limited to 'cad')
-rw-r--r--cad/gmsh/Makefile4
-rw-r--r--cad/gmsh/pkg-descr20
2 files changed, 14 insertions, 10 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index e342d9fd3dac..1b0dbe6d4ddd 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -19,6 +19,8 @@ RUN_DEPENDS= getdp:${PORTSDIR}/science/getdp
LIB_DEPENDS= gsl.12:${PORTSDIR}/math/gsl \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
+SLAVEDIRS= cad/gmsh-occ
+
.if !defined(WITHOUT_TETGEN)
EXTRACT_DEPENDS+= ${NONEXISTENT}:${TETGEN_PORTDIR}:patch
TETGEN_PORTDIR= ${PORTSDIR}/math/tetgen
@@ -73,8 +75,10 @@ CONFIGURE_ARGS+= --disable-fftw3
LIB_DEPENDS+= TKernel.0:${PORTSDIR}/cad/opencascade
CONFIGURE_ARGS+= --enable-occ --with-occ-prefix=${LOCALBASE}/OpenCAS/ros
CONFIGURE_ENV+= ARCH="${ARCH}"
+CONFLICTS= gmsh-2.*
.else
CONFIGURE_ARGS+= --disable-occ
+CONFLICTS= gmsh-occ-2.*
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/cad/gmsh/pkg-descr b/cad/gmsh/pkg-descr
index d50000816fb4..18fd1c0e4208 100644
--- a/cad/gmsh/pkg-descr
+++ b/cad/gmsh/pkg-descr
@@ -1,14 +1,14 @@
-Gmsh is an automatic 3D finite element mesh generator (primarily
-Delaunay) with build-in CAD and post-processing facilities. Its primal
-design goal is to provide a simple meshing tool for academic test cases
-with parametric input and up to date visualization capabilities. One of
-its strengths is the ability to respect a characteristic length field for
-the generation of adapted meshes on lines, surfaces and volumes, and to
-mix these meshes with simple structured grids.
+Gmsh is an automatic 3D finite element mesh generator (primarily
+Delaunay) with build-in CAD and post-processing facilities. Its primal
+design goal is to provide a simple meshing tool for academic test cases
+with parametric input and up to date visualization capabilities. One of
+its strengths is the ability to respect a characteristic length field for
+the generation of adapted meshes on lines, surfaces and volumes, and to
+mix these meshes with simple structured grids.
-Gmsh is built around four modules: geometry, mesh, solver and
-post-processing. The specification of any input to these modules is done
-either interactively using the graphical user interface or in ASCII text
+Gmsh is built around four modules: geometry, mesh, solver and
+post-processing. The specification of any input to these modules is done
+either interactively using the graphical user interface or in ASCII text
files using Gmsh's own scripting language.
WWW: http://www.geuz.org/gmsh/