1997-01-15 08:19:43 +01:00
|
|
|
# New ports collection makefile for: FElt
|
|
|
|
# Date created: 19 October 1996
|
1997-06-16 07:45:10 +02:00
|
|
|
# Whom: Pedro Giffuni
|
1997-01-15 08:19:43 +01:00
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1997-01-15 08:19:43 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= felt
|
2003-08-25 02:36:23 +02:00
|
|
|
PORTVERSION= 3.06
|
2003-11-08 10:08:52 +01:00
|
|
|
CATEGORIES= science
|
2004-05-30 22:58:09 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-04-28 18:31:45 +02:00
|
|
|
MASTER_SITE_SUBDIR= felt
|
2003-08-25 02:36:23 +02:00
|
|
|
EXTRACT_SUFX= -devel.src.tar.gz
|
1997-01-15 08:19:43 +01:00
|
|
|
|
2001-08-23 22:21:52 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A system for Finite Element Analysis
|
1997-01-15 08:19:43 +01:00
|
|
|
|
2000-09-05 20:34:52 +02:00
|
|
|
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
1998-10-11 16:35:44 +02:00
|
|
|
|
1999-01-10 19:20:16 +01:00
|
|
|
USE_X_PREFIX= yes
|
2003-12-10 15:19:52 +01:00
|
|
|
USE_GL= yes
|
2002-07-08 12:14:16 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-08-25 02:36:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
1999-01-10 19:20:16 +01:00
|
|
|
|
1997-01-15 08:19:43 +01:00
|
|
|
MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
|
|
|
|
MAN3= Drawing.3
|
|
|
|
MAN4= corduroy.4 felt.4
|
|
|
|
|
2004-09-18 19:13:36 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
|
|
BROKEN= "Does not build on FreeBSD >= 5.x"
|
|
|
|
.endif
|
|
|
|
|
2002-01-26 09:43:58 +01:00
|
|
|
post-patch:
|
2002-07-08 12:14:16 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
|
|
|
|
${WRKSRC}/lib/Felt/parser.c \
|
2002-01-26 09:43:58 +01:00
|
|
|
${WRKSRC}/lib/Widgets/xwd.c ${WRKSRC}/lib/Matrix/data.c \
|
|
|
|
${WRKSRC}/lib/Matrix/factor.c ${WRKSRC}/lib/Matrix/eigen.c \
|
|
|
|
${WRKSRC}/lib/Matrix/c_data.c ${WRKSRC}/lib/Matrix/c_factor.c \
|
2003-08-25 02:36:23 +02:00
|
|
|
${WRKSRC}/src/Velvet/error.c \
|
|
|
|
${WRKSRC}/src/Burlap/interactive.c \
|
2002-07-08 12:14:16 +02:00
|
|
|
${WRKSRC}/src/Burlap/parser.c \
|
|
|
|
${WRKSRC}/src/Corduroy/parser.c \
|
2002-01-26 09:43:58 +01:00
|
|
|
${WRKSRC}/src/Patchwork/util.c
|
|
|
|
|
1997-06-16 07:45:10 +02:00
|
|
|
post-install:
|
1997-06-29 12:39:49 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/FElt
|
|
|
|
${CP} ${WRKSRC}/examples/* ${PREFIX}/share/examples/FElt
|
1998-12-16 13:23:06 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/FElt
|
|
|
|
${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt
|
1997-06-16 07:45:10 +02:00
|
|
|
|
2004-09-18 19:13:36 +02:00
|
|
|
.include <bsd.port.post.mk>
|