aboutsummaryrefslogtreecommitdiff
path: root/science/fvm/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-06-17 21:04:54 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-06-17 21:04:54 +0000
commit8fecd8a363977c7d53fa001250a32ead0aaf736b (patch)
tree2fc76790cd3db56aa3f887f1c8ff10a761890516 /science/fvm/Makefile
parent0a7df5e916cf09acca2033a1ddbed3e6f77e1dde (diff)
Code_Saturne is EDF's general purpose computational fluid dynamics
software. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral, ...) and any type of grid structure (unstructured, blockstructured, hybrid, conforming or with hanging nodes, ...). Its basic capabilities enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence (mixing length, 2-equation models, v2f, Reynolds stress models, Large Eddy Simulations, ...). <http://rd.edf.com/code_saturne/>
Notes
Notes: svn path=/head/; revision=193734
Diffstat (limited to 'science/fvm/Makefile')
-rw-r--r--science/fvm/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/science/fvm/Makefile b/science/fvm/Makefile
new file mode 100644
index 000000000000..997d33eae180
--- /dev/null
+++ b/science/fvm/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: fvm
+# Date created: Sun 1 apr 2007
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= fvm
+PORTVERSION= 0.6.3
+CATEGORIES= science parallel
+MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Code_Saturne Finite Volume Mesh
+
+LIB_DEPENDS= med.2:${PORTSDIR}/french/med \
+ bft.1:${PORTSDIR}/science/bft \
+ hdf5.0:${PORTSDIR}/science/hdf5 \
+ cgns.0:${PORTSDIR}/science/cgnslib
+
+REL_DATE= 070305
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-bft-prefix=${LOCALBASE} \
+ --with-hdf5-prefix=${LOCALBASE} \
+ --with-cgns-prefix=${LOCALBASE} \
+ --with-med-prefix=${LOCALBASE}
+CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
+
+.if defined(WITH_LAM)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/liblam.a:${PORTSDIR}/net/lam
+RUN_DEPENDS+= ${LOCALBASE}/bin/lamboot:${PORTSDIR}/net/lam
+CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}
+.elif defined(WITH_OPENMPI)
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}/mpi/openmpi
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2
+RUN_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2
+CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}/mpich2
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+pre-configure:
+ # No useful doc there
+ ${REINPLACE_CMD} -e 's|tests doc|tests|' ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>