aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-12-31 12:47:22 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-12-31 12:47:22 +0000
commitd6072e63cd5a0dc32f107815b64d660d18cbd08d (patch)
tree134cb199cde6222ab64a4f7f22575d2b82a0ad2e /cad
parent6c889aeb6650b43b057b19436ddc8b4188a460e1 (diff)
downloadports-d6072e63cd5a0dc32f107815b64d660d18cbd08d.tar.gz
ports-d6072e63cd5a0dc32f107815b64d660d18cbd08d.zip
Prepare for a slave port to support OpenCascade.
Notes
Notes: svn path=/head/; revision=225059
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/