summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-23 14:21:51 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-23 14:21:51 +0000
commit45668ed7f6685f36cf4969da827a12a08213ee4f (patch)
treedafee3de04ac462c973c5c0d08e17313e33ea5f2 /cad
parent- update CATEGORIES (diff)
Add gmsh 1.45.1, an automatic 3D finite element mesh generator.
PR: 52201 Submitted by: Pedro Giffuni <giffunip@yahoo.com>
Notes
Notes: svn path=/head/; revision=85448
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile1
-rw-r--r--cad/gmsh/Makefile45
-rw-r--r--cad/gmsh/distinfo1
-rw-r--r--cad/gmsh/pkg-descr14
-rw-r--r--cad/gmsh/pkg-plist41
5 files changed, 102 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index 6940ea03514a..eb6302667ef0 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -17,6 +17,7 @@
SUBDIR += geda-symcheck
SUBDIR += geda-utils
SUBDIR += gerbv
+ SUBDIR += gmsh
SUBDIR += gnetlist
SUBDIR += gnucap
SUBDIR += gschem
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
new file mode 100644
index 000000000000..ac721970c059
--- /dev/null
+++ b/cad/gmsh/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: gmsh
+# Date created: 19 April 2003
+# Whom: Pedro Giffuni <giffunip@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gmsh
+PORTVERSION= 1.45.1
+CATEGORIES= cad
+MASTER_SITES= http://www.geuz.org/gmsh/src/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-source
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An automatic 3D finite element mesh generator
+
+LIB_DEPENDS= gsl.4:${PORTSDIR}/math/gsl \
+ fltk.1:${PORTSDIR}/x11-toolkits/fltk
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-fltk-prefix=${X11BASE} \
+ --with-gsl-prefix=${LOCALBASE} \
+ --with-jpeg-prefix=${LOCALBASE} \
+ --with-png-prefix=${LOCALBASE}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+ALL_TARGET= all converters
+
+MAN1= gmsh.1
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/gmsh
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/dxf2geo ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/tutorial
+ ${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}/demos
+ ${INSTALL_DATA} ${WRKSRC}/demos/* ${EXAMPLESDIR}/demos
+.endif
+
+.include <bsd.port.mk>
diff --git a/cad/gmsh/distinfo b/cad/gmsh/distinfo
new file mode 100644
index 000000000000..a91b13ff56bf
--- /dev/null
+++ b/cad/gmsh/distinfo
@@ -0,0 +1 @@
+MD5 (gmsh-1.45.1-source.tgz) = 3fb619ef45ad951c2748cada8795d657
diff --git a/cad/gmsh/pkg-descr b/cad/gmsh/pkg-descr
new file mode 100644
index 000000000000..d50000816fb4
--- /dev/null
+++ b/cad/gmsh/pkg-descr
@@ -0,0 +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 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/
diff --git a/cad/gmsh/pkg-plist b/cad/gmsh/pkg-plist
new file mode 100644
index 000000000000..7a19bbc7ce79
--- /dev/null
+++ b/cad/gmsh/pkg-plist
@@ -0,0 +1,41 @@
+bin/gmsh
+bin/dxf2geo
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/bgmesh.pos
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t1.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t2.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t3.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t4.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t5.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t6.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t7.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t8.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t8.par
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/t9.geo
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/view1.pos
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/view2.pos
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/view3.pos
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/view4.pos
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/anim-all.script
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/anim-seq.script
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/antenna.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/antenna.i1
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/filter.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/machine.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/machine.i1
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/machine.i2
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/piece-extr-rec.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/piece-extr.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/piece.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/primitives.pos
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/splines.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.geo
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.i1
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.i2
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.i3
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.i4
+%%PORTDOCS%%%%EXAMPLESDIR%%/demos/tower.i5
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/demos
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%