From nobody  Fri Nov 27 20:50:01 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id UAA02993;
          Fri, 27 Nov 1998 20:50:01 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811280450.UAA02993@hub.freebsd.org>
Date: Fri, 27 Nov 1998 20:50:01 -0800 (PST)
From: pfgiffun@bachue.usc.unal.edu.co
To: freebsd-gnats-submit@freebsd.org
Subject: Update to FElt port
X-Send-Pr-Version: www-1.0

>Number:         8871
>Category:       ports
>Synopsis:       Update to FElt port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 21:00:01 PST 1998
>Closed-Date:    Wed Dec 16 04:23:53 PST 1998
>Last-Modified:  Wed Dec 16 04:24:51 PST 1998
>Originator:     Pedro F. Giffuni
>Release:        2.2.7-Release with update port base
>Organization:
U. Nacional de Colombia
>Environment:
>Description:
The following patch makes velvet look MUCH nicer. I didn't find any
reason for the port labelled as BROKEN, in fact it builds and works
perfectly under my 2.2.7-Release
>How-To-Repeat:

>Fix:
diff -rNu felt.old/Makefile felt/Makefile
--- felt.old/Makefile	Wed Nov 18 06:15:05 1998
+++ felt/Makefile	Fri Nov 27 23:25:05 1998
@@ -14,7 +14,7 @@
 
 MAINTAINER=	giffunip@asme.org
 
-BROKEN=		too few arguments to function error
+LIB_DEPENDS=	Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
 
 WRKSRC=         ${WRKDIR}/FElt-3.02
 GNU_CONFIGURE=	yes
@@ -29,5 +29,7 @@
 post-install:
 	${MKDIR} ${PREFIX}/share/examples/FElt
 	${CP} ${WRKSRC}/examples/* ${PREFIX}/share/examples/FElt
+	${MKDIR} ${PREFIX}/share/doc/FElt
+	${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
 
 .include <bsd.port.mk>
diff -rNu felt.old/patches/patch-Xaw3d felt/patches/patch-Xaw3d
--- felt.old/patches/patch-Xaw3d	Wed Dec 31 19:00:00 1969
+++ felt/patches/patch-Xaw3d	Fri Nov 27 23:13:03 1998
@@ -0,0 +1,40 @@
+If you are not using the Xaw3d widget set, remove this patch
+
+*** src/Velvet/Makefile.orig	Fri Nov 27 23:02:15 1998
+--- src/Velvet/Makefile	Fri Nov 27 23:02:43 1998
+***************
+*** 18,24 ****
+  CFLAGS	= $(CCOPTS) -I$(X11INC) -I$(TOPDIR)/include
+  LDFLAGS	= $(LDOPTS) -L$(X11LIB)
+  LIBS	= $(LIBWIDGETS) $(LIBGEN) $(LIBGEOMPACK) $(LIBFELT) $(LIBELT) $(LIBMTX)\
+! 	  -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
+  OBJS	= analysis.o animate.o apply.o bivar.o callbacks.o canvas.o\
+  	  colors.o constraint.o contour.o draw3d.o drawingshell.o\
+  	  element.o elementlist.o elementop.o eps.o error.o field.o file.o\
+--- 18,24 ----
+  CFLAGS	= $(CCOPTS) -I$(X11INC) -I$(TOPDIR)/include
+  LDFLAGS	= $(LDOPTS) -L$(X11LIB)
+  LIBS	= $(LIBWIDGETS) $(LIBGEN) $(LIBGEOMPACK) $(LIBFELT) $(LIBELT) $(LIBMTX)\
+! 	  -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
+  OBJS	= analysis.o animate.o apply.o bivar.o callbacks.o canvas.o\
+  	  colors.o constraint.o contour.o draw3d.o drawingshell.o\
+  	  element.o elementlist.o elementop.o eps.o error.o field.o file.o\
+*** src/Velvet/Velvet.ad.orig	Sat May 10 18:04:40 1997
+--- src/Velvet/Velvet.ad	Sat Jun 14 22:00:38 1997
+***************
+*** 1046,1052 ****
+  
+  ! 3d specific defaults
+  
+! !*shapeStyle:					Rectangle
+! !*control*spacer.height:				43
+! !*control*MenuButton*height:			26
+! !*control*Command*height:			26
+--- 1046,1052 ----
+  
+  ! 3d specific defaults
+  
+! *shapeStyle:					Rectangle
+! *control*spacer.height:				43
+! *control*MenuButton*height:			26
+! *control*Command*height:			26
diff -rNu felt.old/pkg/DESCR felt/pkg/DESCR
--- felt.old/pkg/DESCR	Thu Jul 17 02:52:59 1997
+++ felt/pkg/DESCR	Fri Nov 27 20:30:55 1998
@@ -5,25 +5,8 @@
 user to set-up, solve and post-process the problem in a single CAD-like 
 environment. 
 
-If you are using the Xaw3d widget set, you may want to apply this patch
-(cd work/FElt-3.02; patch -p < ../../pkg/DESCR).
+FElt Home Page:
+	http://www-cse.ucsd.edu/users/atkinson/FElt/
 
-*** src/Velvet/Velvet.ad.orig	Sat May 10 18:04:40 1997
---- src/Velvet/Velvet.ad	Sat Jun 14 22:00:38 1997
-***************
-*** 1046,1052 ****
-  
-  ! 3d specific defaults
-  
-! !*shapeStyle:					Rectangle
-! !*control*spacer.height:				43
-! !*control*MenuButton*height:			26
-! !*control*Command*height:			26
---- 1046,1052 ----
-  
-  ! 3d specific defaults
-  
-! *shapeStyle:					Rectangle
-! *control*spacer.height:				43
-! *control*MenuButton*height:			26
-! *control*Command*height:			26
+FElt Application Repository:
+	http://crunch.inf.bi.ruhr-uni-bochum.de/FAR/
diff -rNu felt.old/pkg/PLIST felt/pkg/PLIST
--- felt.old/pkg/PLIST	Thu Aug 13 17:15:36 1998
+++ felt/pkg/PLIST	Fri Nov 27 23:28:42 1998
@@ -4,6 +4,8 @@
 bin/patchwork
 bin/velvet
 bin/yardstick
+share/doc/FElt/FAQ.html
+@dirrm share/doc/FElt
 share/examples/FElt/frame3.flt
 share/examples/FElt/beam3d_b.flt
 share/examples/FElt/bridge.flt
@@ -98,3 +100,4 @@
 share/felt/german_new.trn
 share/felt/spanish.trn
 @dirrm share/felt
+

>Release-Note:
>Audit-Trail:

From: Bill Fumerola <billf@chc-chimes.com>
To: pfgiffun@bachue.usc.unal.edu.co
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/8871: Update to FElt port
Date: Sat, 28 Nov 1998 15:48:54 -0500 (EST)

 On Fri, 27 Nov 1998 pfgiffun@bachue.usc.unal.edu.co wrote:
 
 
 > +LIB_DEPENDS=	Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
 
 LIB_DEPENDS= Xaw3d.6:${PORTSDIR}/x11/Xaw3d
 
 
 - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: flathill 
State-Changed-When: Wed Dec 16 04:23:53 PST 1998 
State-Changed-Why:  
Committed. Thanks! 
Can't apply patch-Xaw3D so fix and rename. 
>Unformatted:
