Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 1998 20:50:01 -0800 (PST)
From:      pfgiffun@bachue.usc.unal.edu.co
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/8871: Update to FElt port
Message-ID:  <199811280450.UAA02993@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         8871
>Category:       ports
>Synopsis:       Update to FElt port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 21:00:01 PST 1998
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Organization:
U. Nacional de Colombia
>Release:        2.2.7-Release with update port base
>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
+

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811280450.UAA02993>