ports/73301: [maintainer update] ports/cad/pdnmesh

Sarod Yatawatta sby22 at drexel.edu
Sat Nov 6 05:29:47 UTC 2004



On Fri, 5 Nov 2004, Volker Stolz wrote:

> Synopsis: [maintainer update] ports/cad/pdnmesh
>
> State-Changed-From-To: open->feedback
> State-Changed-By: vs
> State-Changed-When: Fri Nov 5 09:25:28 GMT 2004
> State-Changed-Why:
> I'm not sure if forcing CFLAGS to -O3 is a good idea.
> Can you please point out why, especially wrt.
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-cflags.html
>
>
> Responsible-Changed-From-To: freebsd-ports-bugs->vs
> Responsible-Changed-By: vs
> Responsible-Changed-When: Fri Nov 5 09:25:28 GMT 2004
> Responsible-Changed-Why:
> I'll track this.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=73301
>

Fixed. I have attached the new diff.
thanks,
sarod.
-------------- next part --------------
diff -ruN pdnmesh.bak/Makefile pdnmesh/Makefile
--- pdnmesh.bak/Makefile	Fri Nov  5 23:32:40 2004
+++ pdnmesh/Makefile	Sat Nov  6 00:21:59 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pdnmesh
-PORTVERSION=	0.1.4
+PORTVERSION=	0.1.7
 CATEGORIES=	cad
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
 		${MASTER_SITE_SUNSITE:S/$/:sun/}
@@ -16,9 +16,10 @@
 MAINTAINER=	sarod at 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
@@ -27,9 +28,5 @@
 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 -ruN pdnmesh.bak/distinfo pdnmesh/distinfo
--- pdnmesh.bak/distinfo	Fri Nov  5 23:32:40 2004
+++ pdnmesh/distinfo	Sat Nov  6 00:07:30 2004
@@ -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 -ruN pdnmesh.bak/pkg-descr pdnmesh/pkg-descr
--- pdnmesh.bak/pkg-descr	Fri Nov  5 23:32:40 2004
+++ pdnmesh/pkg-descr	Sat Nov  6 00:07:30 2004
@@ -3,14 +3,22 @@
 
 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 -ruN pdnmesh.bak/pkg-plist pdnmesh/pkg-plist
--- pdnmesh.bak/pkg-plist	Fri Nov  5 23:32:40 2004
+++ pdnmesh/pkg-plist	Sat Nov  6 00:12:22 2004
@@ -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
- at dirrm share/pdnmesh/examples
- at dirrm share/pdnmesh/tutorial
- at 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
+ at dirrm %%DATADIR%%/examples
+ at dirrm %%DATADIR%%/tutorial
+ at dirrm %%DATADIR%%


More information about the freebsd-ports-bugs mailing list