diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-04-03 19:57:24 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-04-03 19:57:24 +0000 |
commit | be07d2f5465ec031fed632e363b23fb11b0dd6cd (patch) | |
tree | a325f114dc21ac183f90638f46a51f35288dd524 /cad/feappv/Makefile | |
parent | baa30a697e428a88fde49a62b0a9de34bc97ea0f (diff) | |
download | ports-be07d2f5465ec031fed632e363b23fb11b0dd6cd.tar.gz ports-be07d2f5465ec031fed632e363b23fb11b0dd6cd.zip |
Add feappv 2.0, finite Element Analysis Program "personal version".
This is a FEA program used in a classic FEM book. A complete (commercial)
version is available here:
<http://www.ce.berkeley.edu/~rlt/feap/>
The "personal version" is very limited, but it keeps the same format as
the complete (commercial) version and cad/netgen can produce files for it.
PR: ports/95210
Submitted by: Pedro F. Giffuni <giffunip (at) asme.org>
Notes
Notes:
svn path=/head/; revision=158739
Diffstat (limited to 'cad/feappv/Makefile')
-rw-r--r-- | cad/feappv/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/cad/feappv/Makefile b/cad/feappv/Makefile new file mode 100644 index 000000000000..c5faf81e2387 --- /dev/null +++ b/cad/feappv/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: FEAPpv +# Date created: 29 Feb 2006 +# Whom: Pedro F. Giffuni +# +# $FreeBSD$ +# + +PORTNAME= feappv +PORTVERSION= 2.0 +CATEGORIES= cad science +MASTER_SITES= http://www.ce.berkeley.edu/~rlt/feappv/ +MASTER_SITE_SUBDIR= feap +DISTFILES= ${PORTNAME}20${EXTRACT_SUFX} +.ifndef NOPORTDOCS +DISTFILES+= manual.pdf +.endif +DIST_SUBDIR= feap +EXTRACT_ONLY= ${PORTNAME}20${EXTRACT_SUFX} + +MAINTAINER= giffunip@asme.org +COMMENT= Finite Element Analysis Program "personal version" + +USE_ZIP= yes +EXTRACT_BEFORE_ARGS= -L + +WRKSRC= ${WRKDIR}/ver20 +USE_XLIB= yes +FFLAGS?= -O2 +MAKEFILE= makefile +ALL_TARGET= install + +post-patch: + @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g; s+%%CC%%+${CC}+g; \ + s+%%FFLAGS%%+${FFLAGS}+g; s+%%CFLAGS%%+${CFLAGS}+g; \ + s+/usr/X11R6+${X11BASE}+g; s+%%WRKSRC%%+${WRKSRC}+;' \ + ${WRKSRC}/makefile.in + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin/feappv + @${INSTALL_DATA} ${WRKSRC}/Feappv.a ${PREFIX}/lib/libfeappv.a +.ifndef NOPORTDOCS + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR} +.endif + +.include <bsd.port.mk> |