blob: 612690b090e9dee22ba777967cb7256b6c900956 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: FElt
# Date created: 19 October 1996
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= felt
PORTVERSION= 3.06
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= felt
EXTRACT_SUFX= -devel.src.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A system for Finite Element Analysis
USE_X_PREFIX= yes
USE_GL= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
GNU_CONFIGURE= yes
MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
MAN3= Drawing.3
MAN4= corduroy.4 felt.4
DOCSDIR= ${PREFIX}/share/doc/FElt
EXAMPLESDIR= ${PREFIX}/share/examples/FElt
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
${WRKSRC}/lib/Felt/parser.c \
${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 \
${WRKSRC}/src/Velvet/error.c \
${WRKSRC}/src/Burlap/interactive.c \
${WRKSRC}/src/Burlap/parser.c \
${WRKSRC}/src/Corduroy/parser.c \
${WRKSRC}/src/Patchwork/util.c
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>
|