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
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2003-11-08 10:08:52 +01:00
|
|
|
CATEGORIES= science
|
2007-08-15 16:47:19 +02:00
|
|
|
MASTER_SITES= SF
|
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
|
|
|
|
2007-08-15 16:47:19 +02:00
|
|
|
LIB_DEPENDS= GLw.1:${PORTSDIR}/graphics/libGLw
|
2007-05-25 03:05:54 +02:00
|
|
|
|
2003-08-25 02:36:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
|
2007-08-15 16:47:19 +02:00
|
|
|
|
|
|
|
USE_MOTIF= yes
|
|
|
|
USE_GL= glu
|
2003-08-25 02:36:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ARGS= --x-defaults=${LOCALBASE}/lib/X11/app-defaults
|
2007-08-15 16:47:19 +02:00
|
|
|
CFLAGS+= -D__GLX_MOTIF
|
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
|
|
|
|
|
2005-09-19 23:47:27 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/FElt
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/FElt
|
|
|
|
|
2007-08-15 16:47:19 +02:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC}/include && ${RM} -rf X11
|
|
|
|
|
2002-01-26 09:43:58 +01:00
|
|
|
post-patch:
|
2007-08-15 16:47:19 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|["<]malloc\.h[">]|<stdlib.h>|g'
|
2002-01-26 09:43:58 +01:00
|
|
|
|
1997-06-16 07:45:10 +02:00
|
|
|
post-install:
|
2005-09-19 23:47:27 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-08-15 16:47:19 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.ans ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.flt ${EXAMPLESDIR}
|
2005-09-19 23:47:27 +02:00
|
|
|
.endif
|
1997-06-16 07:45:10 +02:00
|
|
|
|
2005-01-30 14:50:46 +01:00
|
|
|
.include <bsd.port.mk>
|