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

Sarod Yatawatta sarod at users.sourceforge.net
Sat Oct 30 06:00:49 UTC 2004


>Number:         73301
>Category:       ports
>Synopsis:       [maintainer update] ports/cad/pdnmesh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 30 06:00:47 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sarod Yatawatta
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
FreeBSD kandy.home 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Apr 11 03:19:04 EDT 2004 root at kandy.home:/usr/obj/usr/src/sys/MYKERNEL i386
  
>Description:
[maintainer update] ports/cad/pdnmesh from 0.1.4 to 0.1.7: Major feature upgrade. 
>How-To-Repeat:
      
>Fix:
diff -ruN pdnmesh.bak/Makefile pdnmesh/Makefile
--- pdnmesh.bak/Makefile        Thu Oct 28 21:35:40 2004
+++ pdnmesh/Makefile    Sat Oct 30 01:24:53 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,6 @@
 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
+CONFIGURE_ENV= CFLAGS="-O3"
 
 .include <bsd.port.mk>
diff -ruN pdnmesh.bak/distinfo pdnmesh/distinfo
--- pdnmesh.bak/distinfo        Thu Oct 28 21:35:40 2004
+++ pdnmesh/distinfo    Thu Oct 28 21:39:51 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       Thu Oct 28 21:35:40 2004
+++ pdnmesh/pkg-descr   Sat Oct 30 01:08:11 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       Thu Oct 28 21:35:40 2004
+++ pdnmesh/pkg-plist   Sat Oct 30 01:32:54 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     
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list