blob: 2d47af5918eb62c2028c03a87d85ab9c34b5ea58 (
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
|
# New ports collection makefile for: FEAPpv
# Date created: 29 Feb 2006
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
#
PORTNAME= feappv
PORTVERSION= 2.2
CATEGORIES= cad science
MASTER_SITES= http://www.ce.berkeley.edu/projects/feap/feappv/
MASTER_SITE_SUBDIR= feap
DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+= manual.pdf
.endif
DIST_SUBDIR= feap
EXTRACT_ONLY= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Finite Element Analysis Program "personal version"
WRKSRC= ${WRKDIR}/ver${PORTVERSION:S/.//}
USE_ZIP= yes
USE_XORG= x11
USE_FORTRAN= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= FF="${FC}" CC="${CC}" FFOPTFLAG="${FFLAGS}" \
CCOPTFLAG="${CFLAGS} -I{LOCALBASE}/include" \
LDOPTIONS="-L${LOCALBASE}/lib -lX11 -lm" \
FINCLUDE="${WRKSRC}/include" ARFEAP="${WRKSRC}/libfeappv.a"
ALL_TARGET= install
MAKE_JOBS_SAFE= yes
PORTDOCS= *
PLIST_FILES= bin/feappv lib/libfeappv.a
post-patch:
@${REINPLACE_CMD} -e 's| make | $$(MAKE) |g' ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>
|