aboutsummaryrefslogtreecommitdiffstats
path: root/cad/pdnmesh
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-11-10 23:40:49 +0800
committervs <vs@FreeBSD.org>2004-11-10 23:40:49 +0800
commita58dc32add09f9d430b88ac82ef91d0f754eccbc (patch)
treecb245adaa15b0a6b72b606a7db1d0a955a154d9f /cad/pdnmesh
parenta703da6bc38d8501cc6fc2888e0dd0544a05bbb3 (diff)
downloadfreebsd-ports-gnome-a58dc32add09f9d430b88ac82ef91d0f754eccbc.tar.gz
freebsd-ports-gnome-a58dc32add09f9d430b88ac82ef91d0f754eccbc.tar.zst
freebsd-ports-gnome-a58dc32add09f9d430b88ac82ef91d0f754eccbc.zip
Update to 1.7: Major feature upgrade
PR: ports/73301 Submitted by: maintainer
Diffstat (limited to 'cad/pdnmesh')
-rw-r--r--cad/pdnmesh/Makefile13
-rw-r--r--cad/pdnmesh/distinfo4
-rw-r--r--cad/pdnmesh/pkg-descr26
-rw-r--r--cad/pdnmesh/pkg-plist58
4 files changed, 52 insertions, 49 deletions
diff --git a/cad/pdnmesh/Makefile b/cad/pdnmesh/Makefile
index 83dbef28fd37..5f1123b9eb8a 100644
--- a/cad/pdnmesh/Makefile
+++ b/cad/pdnmesh/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pdnmesh
-PORTVERSION= 0.1.4
-PORTREVISION= 1
+PORTVERSION= 0.1.7
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
${MASTER_SITE_SUNSITE:S/$/:sun/}
@@ -17,9 +16,10 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sf,sun
MAINTAINER= sarod@users.sf.net
COMMENT= A finite element program
-LIB_DEPENDS= gtkglext:${PORTSDIR}/x11-toolkits/gtkglext:install
+LIB_DEPENDS= gtkglext:${PORTSDIR}/x11-toolkits/gtkglext:install\
+ lapack:${PORTSDIR}/math/lapack:install\
+ atlas:${PORTSDIR}/math/atlas:install
-USE_REINPLACE= yes
USE_XLIB= yes
USE_GL= yes
GNU_CONFIGURE= yes
@@ -28,9 +28,4 @@ CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAN1= pdnmesh.1
MAN5= pdnmesh_input.5
-post-patch:
-.for FILE in ${DISTNAME}/src/contour.c
- @${REINPLACE_CMD} -e "s/^\#include <GL\/glut.h>//g" ${WRKSRC}/${FILE}
-.endfor
-
.include <bsd.port.mk>
diff --git a/cad/pdnmesh/distinfo b/cad/pdnmesh/distinfo
index ce9e27ba8579..0a5214417d1e 100644
--- a/cad/pdnmesh/distinfo
+++ b/cad/pdnmesh/distinfo
@@ -1,2 +1,2 @@
-MD5 (pdnmesh-0.1.4.tar.gz) = a310de2207c45ac84e2c54357613f258
-SIZE (pdnmesh-0.1.4.tar.gz) = 975357
+MD5 (pdnmesh-0.1.7.tar.gz) = 96836274e240e6300cd5006fbd27833b
+SIZE (pdnmesh-0.1.7.tar.gz) = 251547
diff --git a/cad/pdnmesh/pkg-descr b/cad/pdnmesh/pkg-descr
index 826dc2b334cc..c908da537ba1 100644
--- a/cad/pdnmesh/pkg-descr
+++ b/cad/pdnmesh/pkg-descr
@@ -3,14 +3,22 @@ pdnMesh: A finite element program
Copyright (C) 2001-2004 Sarod Yatawatta
-PdnMesh is a 2D mesh generator and Finite Element program,
-especially designed to solve field problems.
-It is written in C and uses OpenGL/Mesa
-and GTK/GTKGLExt for visualization. It can import DXF
-files created by CAD programs and convert them as input to
-be used in the program itself.
-
-Apart from producing graphical output, pdnmesh can
-produce encapsulated postscript files of the solution.
+pdnMesh is a program that can solve 2D potential problems (Poisson Equation)
+and eigenvalue problems (Helmholtz Equation) using the Finite Element Method.
+Common applications occur in electromagnetics, heat flow and fluid dynamics.
+It can solve problems using both Nodal Based Formulation and Edge Based
+(Vector) Formulation.
+The features of the program are as follows.
+ * Automatic mesh generation according to given boundaries.
+ * Adaptive and Interactive mesh refinement.
+ * Problem solution using Cholesky Decomposition or Conjugate Gradient
+ Method with profile storage (in progress).
+ * Eigenvalue solution using LAPACK.
+ * (Optionally) Eigenvalue solution using QR iteration with shifts.
+ * Generating plots of contours, mesh and gradient on screen.
+ * Generating Encapsulated Postscript plots of countours and mesh.
+ * Generating a data file of the mesh to be used by other solvers.
+ * Can import DXF files generated by CAD programs.
+ * GUI is avaibale with glut and GTK/GTKGLExt. Needs OpenGL.
WWW: http://pdnmesh.sourceforge.net/
diff --git a/cad/pdnmesh/pkg-plist b/cad/pdnmesh/pkg-plist
index 31369657c74b..41b3d9e41ca4 100644
--- a/cad/pdnmesh/pkg-plist
+++ b/cad/pdnmesh/pkg-plist
@@ -1,30 +1,30 @@
bin/pdnmesh
-share/pdnmesh/README
-share/pdnmesh/COPYING
-share/pdnmesh/ChangeLog
-share/pdnmesh/tutorial/README
-share/pdnmesh/tutorial/tutorial.sgml.gz
-share/pdnmesh/tutorial/tutorial.pdf.gz
-share/pdnmesh/tutorial/tutorial.html.tgz
-share/pdnmesh/examples/README
-share/pdnmesh/examples/coords.1
-share/pdnmesh/examples/coords.10
-share/pdnmesh/examples/coords.11
-share/pdnmesh/examples/coords.1a
-share/pdnmesh/examples/coords.2
-share/pdnmesh/examples/coords.3
-share/pdnmesh/examples/coords.4
-share/pdnmesh/examples/coords.5
-share/pdnmesh/examples/coords.6
-share/pdnmesh/examples/coords.7
-share/pdnmesh/examples/coords.8
-share/pdnmesh/examples/coords.9
-share/pdnmesh/examples/heat
-share/pdnmesh/examples/flow
-share/pdnmesh/examples/flow.1
-share/pdnmesh/examples/heart
-share/pdnmesh/examples/switch
-share/pdnmesh/examples/trans
-@dirrm share/pdnmesh/examples
-@dirrm share/pdnmesh/tutorial
-@dirrm share/pdnmesh
+%%DATADIR%%/README
+%%DATADIR%%/COPYING
+%%DATADIR%%/ChangeLog
+%%DATADIR%%/tutorial/README
+%%DATADIR%%/tutorial/tutorial.sgml.gz
+%%DATADIR%%/tutorial/tutorial.pdf.gz
+%%DATADIR%%/tutorial/tutorial.html.tgz
+%%DATADIR%%/examples/README
+%%DATADIR%%/examples/coords.1
+%%DATADIR%%/examples/coords.10
+%%DATADIR%%/examples/coords.11
+%%DATADIR%%/examples/coords.1a
+%%DATADIR%%/examples/coords.2
+%%DATADIR%%/examples/coords.3
+%%DATADIR%%/examples/coords.4
+%%DATADIR%%/examples/coords.5
+%%DATADIR%%/examples/coords.6
+%%DATADIR%%/examples/coords.7
+%%DATADIR%%/examples/coords.8
+%%DATADIR%%/examples/coords.9
+%%DATADIR%%/examples/heat
+%%DATADIR%%/examples/flow
+%%DATADIR%%/examples/flow.1
+%%DATADIR%%/examples/heart
+%%DATADIR%%/examples/switch
+%%DATADIR%%/examples/trans
+@dirrm %%DATADIR%%/examples
+@dirrm %%DATADIR%%/tutorial
+@dirrm %%DATADIR%%