aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--science/Makefile5
-rw-r--r--science/bft/Makefile33
-rw-r--r--science/bft/distinfo3
-rw-r--r--science/bft/pkg-descr5
-rw-r--r--science/bft/pkg-plist18
-rw-r--r--science/ecs/Makefile63
-rw-r--r--science/ecs/distinfo3
-rw-r--r--science/ecs/files/patch-configure56
-rw-r--r--science/ecs/files/patch-src_appli_Makefile.in11
-rw-r--r--science/ecs/pkg-descr4
-rw-r--r--science/ecs/pkg-plist4
-rw-r--r--science/fvm/Makefile54
-rw-r--r--science/fvm/distinfo3
-rw-r--r--science/fvm/files/patch-configure74
-rw-r--r--science/fvm/pkg-descr5
-rw-r--r--science/fvm/pkg-plist23
-rw-r--r--science/ics/Makefile36
-rw-r--r--science/ics/distinfo3
-rw-r--r--science/ics/pkg-descr5
-rw-r--r--science/ics/pkg-plist244
-rw-r--r--science/ncs/Makefile177
-rw-r--r--science/ncs/distinfo3
-rw-r--r--science/ncs/files/patch-bin_Makefile64
-rw-r--r--science/ncs/files/patch-bin_compiler_version24
-rw-r--r--science/ncs/files/patch-bin_cree_sat37
-rw-r--r--science/ncs/files/patch-bin_cs_profile61
-rw-r--r--science/ncs/files/patch-bin_gracehst17
-rw-r--r--science/ncs/files/patch-bin_grp8
-rw-r--r--science/ncs/files/patch-bin_macros_FreeBSD.mk146
-rw-r--r--science/ncs/files/patch-src_base_1_gradco.F11
-rw-r--r--science/ncs/files/pkg-message.in15
-rw-r--r--science/ncs/pkg-descr19
-rw-r--r--science/ncs/pkg-plist655
33 files changed, 1889 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 6d13e5a72f07..6da4bfb638d0 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -9,6 +9,7 @@
SUBDIR += afni
SUBDIR += at
SUBDIR += bblimage
+ SUBDIR += bft
SUBDIR += bodr
SUBDIR += buddy
SUBDIR += cdcl
@@ -23,6 +24,7 @@
SUBDIR += dcl
SUBDIR += devisor
SUBDIR += dft++
+ SUBDIR += ecs
SUBDIR += elmer-eio
SUBDIR += elmer-fem
SUBDIR += elmer-hutiter
@@ -36,6 +38,7 @@
SUBDIR += fasthenry
SUBDIR += felt
SUBDIR += flounder
+ SUBDIR += fvm
SUBDIR += g3data
SUBDIR += gamess
SUBDIR += gave
@@ -55,6 +58,7 @@
SUBDIR += gwyddion
SUBDIR += hdf
SUBDIR += hdf5
+ SUBDIR += ics
SUBDIR += isaac-cfd
SUBDIR += kmovisto
SUBDIR += kst
@@ -75,6 +79,7 @@
SUBDIR += mpb
SUBDIR += mpqc
SUBDIR += mpqc-mpich
+ SUBDIR += ncs
SUBDIR += netcdf
SUBDIR += nifticlib
SUBDIR += oases
diff --git a/science/bft/Makefile b/science/bft/Makefile
new file mode 100644
index 000000000000..f43e2a52055e
--- /dev/null
+++ b/science/bft/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: bft
+# Date created: Sun 1 apr 2007
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= bft
+PORTVERSION= 1.0.3
+CATEGORIES= science parallel
+MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Code_Saturne Base Functions and Types library
+
+REL_DATE= 070305
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+TESTSBIN= bft_test
+
+pre-configure:
+ # No useful doc there
+ ${REINPLACE_CMD} -e 's|tests doc|tests|' ${WRKSRC}/Makefile.in
+
+regression-test:
+.for pg in ${TESTSBIN}
+ @(cd ${WRKSRC}/tests; ./${pg} arg1 arg2)
+.endfor
+
+.include <bsd.port.mk>
diff --git a/science/bft/distinfo b/science/bft/distinfo
new file mode 100644
index 000000000000..f75be4816a18
--- /dev/null
+++ b/science/bft/distinfo
@@ -0,0 +1,3 @@
+MD5 (bft-1.0.3.tar.gz) = 9003c7480df32b8f88fa95ee476244d7
+SHA256 (bft-1.0.3.tar.gz) = 92d96837e920fc4742d1a9058df0fd54c632ae2248304ff2e3976c2e74a754cf
+SIZE (bft-1.0.3.tar.gz) = 430826
diff --git a/science/bft/pkg-descr b/science/bft/pkg-descr
new file mode 100644
index 000000000000..d9dacf510b08
--- /dev/null
+++ b/science/bft/pkg-descr
@@ -0,0 +1,5 @@
+BFT stands for Base Functions and Types.
+It is destined to be used by scientific codes (CFD) often using
+some form of parallelism, especially MPI.
+
+WWW: http://rd.edf.com/code_saturne/
diff --git a/science/bft/pkg-plist b/science/bft/pkg-plist
new file mode 100644
index 000000000000..08eee58989c4
--- /dev/null
+++ b/science/bft/pkg-plist
@@ -0,0 +1,18 @@
+bin/bft-config
+include/bft_backtrace.h
+include/bft_config.h
+include/bft_config_priv.h
+include/bft_error.h
+include/bft_file.h
+include/bft_fp_trap.h
+include/bft_intl.h
+include/bft_mem.h
+include/bft_mem_usage.h
+include/bft_printf.h
+include/bft_sys_info.h
+include/bft_timer.h
+include/bft_version.h
+lib/libbft.a
+lib/libbft.la
+lib/libbft.so
+lib/libbft.so.1
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
new file mode 100644
index 000000000000..1a0eb03ba6f4
--- /dev/null
+++ b/science/ecs/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: ecs
+# Date created: Sun 1 apr 2007
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= ecs
+DISTVERSION= 1.3.c
+CATEGORIES= science
+MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Code_Saturne Preprocessor
+
+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
+
+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} \
+ --with-metis-prefix=${LOCALBASE}
+CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+USE_ICONV= yes
+PLIST_SUB+= NLS=""
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+PORTDOCS= mi_ecs.pdf mu_ecs.pdf
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/partdmesh)
+# The regular metis is there, cannot depends on metis-edf
+LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis
+.else
+# Prefer metis-edf to avoid conflict with Code_Aster
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis-edf
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/ecs/distinfo b/science/ecs/distinfo
new file mode 100644
index 000000000000..a21e1137121e
--- /dev/null
+++ b/science/ecs/distinfo
@@ -0,0 +1,3 @@
+MD5 (ecs-1.3.c.tar.gz) = eadaefbdf2a84a45c85910f5fdb9068a
+SHA256 (ecs-1.3.c.tar.gz) = 000b1b70e65c164d190c78d1f7b8f39ea5d3704c181762d911dfed160e92c58b
+SIZE (ecs-1.3.c.tar.gz) = 2038856
diff --git a/science/ecs/files/patch-configure b/science/ecs/files/patch-configure
new file mode 100644
index 000000000000..974e2cee55de
--- /dev/null
+++ b/science/ecs/files/patch-configure
@@ -0,0 +1,56 @@
+--- configure.orig Thu Feb 15 20:16:38 2007
++++ configure Mon May 7 11:41:21 2007
+@@ -3771,7 +3771,7 @@
+ #------------------------------------------------------------------
+
+ case "$host_os" in
+- linux* | hpux* | irix*)
++ linux* | freebsd* | hpux* | irix*)
+ CPPFLAGS="${CPPFLAGS} -D_POSIX_SOURCE"
+ ;;
+ osf*)
+@@ -19595,7 +19595,7 @@
+ HDF5_CPPFLAGS="-I$with_hdf5_prefix/include"
+ HDF5_LDFLAGS="-L$with_hdf5_prefix/lib"
+ fi
+- HDF5_LIBS="-lhdf5"
++ HDF5_LIBS="-lhdf5 $PTHREAD_LIBS"
+
+ CPPFLAGS="${CPPFLAGS} ${HDF5_CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} ${HDF5_LDFLAGS}"
+@@ -19607,7 +19607,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lhdf5 $LIBS"
++LIBS="$HDF5_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -19749,7 +19749,7 @@
+ elif test "x$with_cgns_prefix" != "x" ; then
+ CGNS_LDFLAGS="-L$with_cgns_prefix/lib"
+ fi
+- CGNS_LIBS="-lcgns"
++ CGNS_LIBS="-lcgns $HDF5_LIBS"
+ CPPFLAGS="${CPPFLAGS} ${CGNS_CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} ${CGNS_LDFLAGS}"
+ LIBS="${LIBS} ${CGNS_LIBS}"
+@@ -19760,7 +19760,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcgns $LIBS"
++LIBS="$CGNS_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -20749,6 +20749,8 @@
+ fi
+ fi;
+ MED_LIBS="-lmedC -lpthread";;
++ freebsd*)
++ MED_ARCH_NAME=FREEBSD;;
+ osf*)
+ if test "x$ints_are_64bit" != "xyes" ; then
+ MED_ARCH_NAME=OSF1_32
diff --git a/science/ecs/files/patch-src_appli_Makefile.in b/science/ecs/files/patch-src_appli_Makefile.in
new file mode 100644
index 000000000000..6028e2692676
--- /dev/null
+++ b/science/ecs/files/patch-src_appli_Makefile.in
@@ -0,0 +1,11 @@
+--- src/appli/Makefile.in.orig Thu Feb 15 20:16:38 2007
++++ src/appli/Makefile.in Mon May 7 11:58:10 2007
+@@ -276,7 +276,7 @@
+ $(top_builddir)/src/pre-post/libprepostecs.la \
+ $(top_builddir)/src/base/libbaseecs.la \
+ $(top_builddir)/src/util/libutilecs.la \
+-@HDF5_LDFLAGS@ @HDF5_LIBS@ @MED_LDFLAGS@ @MED_LIBS@ \
++$(LTLIBINTL) @HDF5_LDFLAGS@ @HDF5_LIBS@ @MED_LDFLAGS@ @MED_LIBS@ \
+ @CGNS_LDFLAGS@ @CGNS_LIBS@ \
+ @METIS_LDFLAGS@ @METIS_LIBS@ \
+ -lm
diff --git a/science/ecs/pkg-descr b/science/ecs/pkg-descr
new file mode 100644
index 000000000000..cc8026aee0dd
--- /dev/null
+++ b/science/ecs/pkg-descr
@@ -0,0 +1,4 @@
+ECS means "Enveloppe Code Saturne".
+This is the preprocessor used by the Code_Saturne and NEPTUNE_CDF codes.
+
+WWW: http://rd.edf.com/code_saturne/
diff --git a/science/ecs/pkg-plist b/science/ecs/pkg-plist
new file mode 100644
index 000000000000..ff4ad28c07d6
--- /dev/null
+++ b/science/ecs/pkg-plist
@@ -0,0 +1,4 @@
+bin/ecs
+bin/ecs-config
+bin/perm_nopo
+%%NLS%%share/locale/fr/LC_MESSAGES/ecs.mo
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>
diff --git a/science/fvm/distinfo b/science/fvm/distinfo
new file mode 100644
index 000000000000..d86bbb5e77da
--- /dev/null
+++ b/science/fvm/distinfo
@@ -0,0 +1,3 @@
+MD5 (fvm-0.6.3.tar.gz) = f02b468bb9677809305d160b41b8f949
+SHA256 (fvm-0.6.3.tar.gz) = 1566ff22213846f24d976ef11a9e1e9aef485f870206656ab301f899bc5bdcbb
+SIZE (fvm-0.6.3.tar.gz) = 566676
diff --git a/science/fvm/files/patch-configure b/science/fvm/files/patch-configure
new file mode 100644
index 000000000000..758f79ea0227
--- /dev/null
+++ b/science/fvm/files/patch-configure
@@ -0,0 +1,74 @@
+--- configure.orig Thu Feb 15 18:57:25 2007
++++ configure Fri May 4 23:03:56 2007
+@@ -19654,7 +19654,7 @@
+ HDF5_CPPFLAGS="-I$with_hdf5_prefix/include"
+ HDF5_LDFLAGS="-L$with_hdf5_prefix/lib"
+ fi
+- HDF5_LIBS="-lhdf5"
++ HDF5_LIBS="-lhdf5 $PTHREAD_LIBS"
+
+ CPPFLAGS="${CPPFLAGS} ${HDF5_CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} ${HDF5_LDFLAGS}"
+@@ -19666,7 +19666,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lhdf5 $LIBS"
++LIBS="$HDF5_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -19810,7 +19810,7 @@
+ elif test "x$with_cgns_prefix" != "x" ; then
+ CGNS_LDFLAGS="-L$with_cgns_prefix/lib"
+ fi
+- CGNS_LIBS="-lcgns"
++ CGNS_LIBS="-lcgns $HDF5_LIBS"
+ CPPFLAGS="${CPPFLAGS} ${CGNS_CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} ${CGNS_LDFLAGS}"
+ LIBS="${LIBS} ${CGNS_LIBS}"
+@@ -19821,7 +19821,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcgns $LIBS"
++LIBS="$CGNS_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -20810,6 +20810,8 @@
+ fi
+ fi;
+ MED_LIBS="-lmedC -lpthread";;
++ freebsd*)
++ MED_ARCH_NAME=FREEBSD;;
+ osf*)
+ if test "x$ints_are_64bit" != "xyes" ; then
+ MED_ARCH_NAME=OSF1_32
+@@ -25366,7 +25368,7 @@
+ { echo "$as_me:$LINENO: checking for MPI (basic test)" >&5
+ echo $ECHO_N "checking for MPI (basic test)... $ECHO_C" >&6; }
+ if test "$MPI_LIBS" = "" ; then
+- MPI_LIBS="-lmpi"
++ MPI_LIBS="-lmpi $PTHREAD_LIBS"
+ fi
+ CPPFLAGS="$saved_CPPFLAGS $MPI_CPPFLAGS"
+ LDFLAGS="$saved_LDFLAGS $MPI_LDFLAGS"
+@@ -25422,7 +25424,7 @@
+ { echo "$as_me:$LINENO: checking for MPI (mpich test)" >&5
+ echo $ECHO_N "checking for MPI (mpich test)... $ECHO_C" >&6; }
+ # First try (simplest)
+- MPI_LIBS="-lmpich"
++ MPI_LIBS="-lmpich $PTHREAD_LIBS"
+ LIBS="$saved_LIBS $MPI_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+@@ -25524,7 +25526,7 @@
+ { echo "$as_me:$LINENO: checking for MPI (lam-mpi test)" >&5
+ echo $ECHO_N "checking for MPI (lam-mpi test)... $ECHO_C" >&6; }
+ # First try (without MPI-IO)
+- MPI_LIBS="-lmpi -llam -lpthread"
++ MPI_LIBS="-lmpi -llam $PTHREAD_LIBS"
+ LIBS="$saved_LIBS $MPI_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
diff --git a/science/fvm/pkg-descr b/science/fvm/pkg-descr
new file mode 100644
index 000000000000..6787774c7ab1
--- /dev/null
+++ b/science/fvm/pkg-descr
@@ -0,0 +1,5 @@
+BFT stands for Finite Volume Mesh.
+It is intended to provide finite volume mesh I/O and some other services such
+as interpolation, possibly in parallel using MPI.
+
+WWW: http://rd.edf.com/code_saturne/
diff --git a/science/fvm/pkg-plist b/science/fvm/pkg-plist
new file mode 100644
index 000000000000..65dab748c27d
--- /dev/null
+++ b/science/fvm/pkg-plist
@@ -0,0 +1,23 @@
+bin/fvm-config
+include/fvm_config.h
+include/fvm_config_priv.h
+include/fvm_defs.h
+include/fvm_interface.h
+include/fvm_io_num.h
+include/fvm_locator.h
+include/fvm_nodal.h
+include/fvm_nodal_append.h
+include/fvm_nodal_extract.h
+include/fvm_nodal_extrude.h
+include/fvm_nodal_from_desc.h
+include/fvm_nodal_order.h
+include/fvm_nodal_project.h
+include/fvm_nodal_triangulate.h
+include/fvm_order.h
+include/fvm_parall.h
+include/fvm_triangulate.h
+include/fvm_writer.h
+lib/libfvm.a
+lib/libfvm.la
+lib/libfvm.so
+lib/libfvm.so.0
diff --git a/science/ics/Makefile b/science/ics/Makefile
new file mode 100644
index 000000000000..fa972262e03b
--- /dev/null
+++ b/science/ics/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: ics
+# Date created: Sun 1 apr 2007
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= ics
+PORTVERSION= 1.1.l
+CATEGORIES= science
+MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Code_Saturne Graphical User Interface
+
+LIB_DEPENDS= tix8184:${PORTSDIR}/x11-toolkits/tix
+RUN_DEPENDS= ${CS_HOME}/bin/info_cs:${PORTSDIR}/science/ncs \
+ ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+
+REL_DATE= 070305
+
+NO_BUILD= yes
+USE_PYTHON= yes
+
+PATHCS= ${PREFIX}/Saturne
+CS_HOME= ${LOCALBASE}/Saturne/Noyau/ncs
+ICS_HOME= ${PATHCS}/Interface/ics
+PLIST_SUB= ICS=Saturne/Interface/ics
+
+do-install:
+ ${MKDIR} ${ICS_HOME}
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${ICS_HOME})
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ICS_HOME}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${ICS_HOME}
+
+.include <bsd.port.mk>
diff --git a/science/ics/distinfo b/science/ics/distinfo
new file mode 100644
index 000000000000..0d1d8727efcd
--- /dev/null
+++ b/science/ics/distinfo
@@ -0,0 +1,3 @@
+MD5 (ics-1.1.l.tar.gz) = 3ffd6220151f26c92fc2e5ef184985ef
+SHA256 (ics-1.1.l.tar.gz) = 8b8ada72c99375d674d2b7a0639ca046c8694d3a35b72bb299bfddfcee0cfd13
+SIZE (ics-1.1.l.tar.gz) = 438629
diff --git a/science/ics/pkg-descr b/science/ics/pkg-descr
new file mode 100644
index 000000000000..27be71b710a4
--- /dev/null
+++ b/science/ics/pkg-descr
@@ -0,0 +1,5 @@
+ICS stands for Interface Code Saturne.
+
+This is the Graphical User Interface of Code_Saturne.
+
+WWW: http://rd.edf.com/code_saturne/
diff --git a/science/ics/pkg-plist b/science/ics/pkg-plist
new file mode 100644
index 000000000000..062bd0864e9c
--- /dev/null
+++ b/science/ics/pkg-plist
@@ -0,0 +1,244 @@
+%%ICS%%/AUTHORS
+%%ICS%%/Base/Blt.py
+%%ICS%%/Base/Blt.pyc
+%%ICS%%/Base/Blt.pyo
+%%ICS%%/Base/CommandLine.py
+%%ICS%%/Base/CommandLine.pyc
+%%ICS%%/Base/CommandLine.pyo
+%%ICS%%/Base/Common.py
+%%ICS%%/Base/Common.pyc
+%%ICS%%/Base/Common.pyo
+%%ICS%%/Base/Dialog.py
+%%ICS%%/Base/Dialog.pyc
+%%ICS%%/Base/Dialog.pyo
+%%ICS%%/Base/Main.py
+%%ICS%%/Base/Main.pyc
+%%ICS%%/Base/Main.pyo
+%%ICS%%/Base/TkPage.py
+%%ICS%%/Base/TkPage.pyc
+%%ICS%%/Base/TkPage.pyo
+%%ICS%%/Base/Toolbox.py
+%%ICS%%/Base/Toolbox.pyc
+%%ICS%%/Base/Toolbox.pyo
+%%ICS%%/Base/Tree.py
+%%ICS%%/Base/Tree.pyc
+%%ICS%%/Base/Tree.pyo
+%%ICS%%/Base/WmDefault.py
+%%ICS%%/Base/WmDefault.pyc
+%%ICS%%/Base/WmDefault.pyo
+%%ICS%%/Base/XMLengine.py
+%%ICS%%/Base/XMLengine.pyc
+%%ICS%%/Base/XMLengine.pyo
+%%ICS%%/Base/XMLinitialize.py
+%%ICS%%/Base/XMLinitialize.pyc
+%%ICS%%/Base/XMLinitialize.pyo
+%%ICS%%/Base/XMLmodel.py
+%%ICS%%/Base/XMLmodel.pyc
+%%ICS%%/Base/XMLmodel.pyo
+%%ICS%%/Base/XMLvariables.py
+%%ICS%%/Base/XMLvariables.pyc
+%%ICS%%/Base/XMLvariables.pyo
+%%ICS%%/Base/__init__.py
+%%ICS%%/Base/__init__.pyc
+%%ICS%%/Base/__init__.pyo
+%%ICS%%/Changelog
+%%ICS%%/Pages/AnalysisFeatures.py
+%%ICS%%/Pages/AnalysisFeatures.pyc
+%%ICS%%/Pages/AnalysisFeatures.pyo
+%%ICS%%/Pages/BatchRunning.py
+%%ICS%%/Pages/BatchRunning.pyc
+%%ICS%%/Pages/BatchRunning.pyo
+%%ICS%%/Pages/BatchRunningModel.py
+%%ICS%%/Pages/BatchRunningModel.pyc
+%%ICS%%/Pages/BatchRunningModel.pyo
+%%ICS%%/Pages/BodyForces.py
+%%ICS%%/Pages/BodyForces.pyc
+%%ICS%%/Pages/BodyForces.pyo
+%%ICS%%/Pages/BoundConditions.py
+%%ICS%%/Pages/BoundConditions.pyc
+%%ICS%%/Pages/BoundConditions.pyo
+%%ICS%%/Pages/CoalCombustion.py
+%%ICS%%/Pages/CoalCombustion.pyc
+%%ICS%%/Pages/CoalCombustion.pyo
+%%ICS%%/Pages/CoalThermoChemistry.py
+%%ICS%%/Pages/CoalThermoChemistry.pyc
+%%ICS%%/Pages/CoalThermoChemistry.pyo
+%%ICS%%/Pages/CommonCombustion.py
+%%ICS%%/Pages/CommonCombustion.pyc
+%%ICS%%/Pages/CommonCombustion.pyo
+%%ICS%%/Pages/CurrentSpecies.py
+%%ICS%%/Pages/CurrentSpecies.pyc
+%%ICS%%/Pages/CurrentSpecies.pyo
+%%ICS%%/Pages/DefineBoundaryRegions.py
+%%ICS%%/Pages/DefineBoundaryRegions.pyc
+%%ICS%%/Pages/DefineBoundaryRegions.pyo
+%%ICS%%/Pages/DefineUserScalars.py
+%%ICS%%/Pages/DefineUserScalars.pyc
+%%ICS%%/Pages/DefineUserScalars.pyo
+%%ICS%%/Pages/ElectricalModels.py
+%%ICS%%/Pages/ElectricalModels.pyc
+%%ICS%%/Pages/ElectricalModels.pyo
+%%ICS%%/Pages/FluidCharacteristics.py
+%%ICS%%/Pages/FluidCharacteristics.pyc
+%%ICS%%/Pages/FluidCharacteristics.pyo
+%%ICS%%/Pages/GasCombustion.py
+%%ICS%%/Pages/GasCombustion.pyc
+%%ICS%%/Pages/GasCombustion.pyo
+%%ICS%%/Pages/IdentityAndPathes.py
+%%ICS%%/Pages/IdentityAndPathes.pyc
+%%ICS%%/Pages/IdentityAndPathes.pyo
+%%ICS%%/Pages/InitZone.py
+%%ICS%%/Pages/InitZone.pyc
+%%ICS%%/Pages/InitZone.pyo
+%%ICS%%/Pages/Initialization.py
+%%ICS%%/Pages/Initialization.pyc
+%%ICS%%/Pages/Initialization.pyo
+%%ICS%%/Pages/Lagrangian.py
+%%ICS%%/Pages/Lagrangian.pyc
+%%ICS%%/Pages/Lagrangian.pyo
+%%ICS%%/Pages/Matisse.py
+%%ICS%%/Pages/Matisse.pyc
+%%ICS%%/Pages/Matisse.pyo
+%%ICS%%/Pages/MatisseGeom.py
+%%ICS%%/Pages/MatisseGeom.pyc
+%%ICS%%/Pages/MatisseGeom.pyo
+%%ICS%%/Pages/MatisseHydrau.py
+%%ICS%%/Pages/MatisseHydrau.pyc
+%%ICS%%/Pages/MatisseHydrau.pyo
+%%ICS%%/Pages/MatisseNetwork.py
+%%ICS%%/Pages/MatisseNetwork.pyc
+%%ICS%%/Pages/MatisseNetwork.pyo
+%%ICS%%/Pages/MatisseRangeDescription.py
+%%ICS%%/Pages/MatisseRangeDescription.pyc
+%%ICS%%/Pages/MatisseRangeDescription.pyo
+%%ICS%%/Pages/MatisseThermic.py
+%%ICS%%/Pages/MatisseThermic.pyc
+%%ICS%%/Pages/MatisseThermic.pyo
+%%ICS%%/Pages/MatisseType.py
+%%ICS%%/Pages/MatisseType.pyc
+%%ICS%%/Pages/MatisseType.pyo
+%%ICS%%/Pages/NumericalParamEquation.py
+%%ICS%%/Pages/NumericalParamEquation.pyc
+%%ICS%%/Pages/NumericalParamEquation.pyo
+%%ICS%%/Pages/NumericalParamGlobal.py
+%%ICS%%/Pages/NumericalParamGlobal.pyc
+%%ICS%%/Pages/NumericalParamGlobal.pyo
+%%ICS%%/Pages/OutputControl.py
+%%ICS%%/Pages/OutputControl.pyc
+%%ICS%%/Pages/OutputControl.pyo
+%%ICS%%/Pages/OutputControlModel.py
+%%ICS%%/Pages/OutputControlModel.pyc
+%%ICS%%/Pages/OutputControlModel.pyo
+%%ICS%%/Pages/OutputVarRay.py
+%%ICS%%/Pages/OutputVarRay.pyc
+%%ICS%%/Pages/OutputVarRay.pyo
+%%ICS%%/Pages/OutputVariables.py
+%%ICS%%/Pages/OutputVariables.pyc
+%%ICS%%/Pages/OutputVariables.pyo
+%%ICS%%/Pages/RadiativeBoundaries.py
+%%ICS%%/Pages/RadiativeBoundaries.pyc
+%%ICS%%/Pages/RadiativeBoundaries.pyo
+%%ICS%%/Pages/ReferenceValues.py
+%%ICS%%/Pages/ReferenceValues.pyc
+%%ICS%%/Pages/ReferenceValues.pyo
+%%ICS%%/Pages/ScalarsBoundaries.py
+%%ICS%%/Pages/ScalarsBoundaries.pyc
+%%ICS%%/Pages/ScalarsBoundaries.pyo
+%%ICS%%/Pages/SolutionDomain.py
+%%ICS%%/Pages/SolutionDomain.pyc
+%%ICS%%/Pages/SolutionDomain.pyo
+%%ICS%%/Pages/SolutionDomainModel.py
+%%ICS%%/Pages/SolutionDomainModel.pyc
+%%ICS%%/Pages/SolutionDomainModel.pyo
+%%ICS%%/Pages/StartRestart.py
+%%ICS%%/Pages/StartRestart.pyc
+%%ICS%%/Pages/StartRestart.pyo
+%%ICS%%/Pages/ThermalRadiation.py
+%%ICS%%/Pages/ThermalRadiation.pyc
+%%ICS%%/Pages/ThermalRadiation.pyo
+%%ICS%%/Pages/ThermalScalar.py
+%%ICS%%/Pages/ThermalScalar.pyc
+%%ICS%%/Pages/ThermalScalar.pyo
+%%ICS%%/Pages/TimeStep.py
+%%ICS%%/Pages/TimeStep.pyc
+%%ICS%%/Pages/TimeStep.pyo
+%%ICS%%/Pages/Turbulence.py
+%%ICS%%/Pages/Turbulence.pyc
+%%ICS%%/Pages/Turbulence.pyo
+%%ICS%%/Pages/UserScalarProperties.py
+%%ICS%%/Pages/UserScalarProperties.pyc
+%%ICS%%/Pages/UserScalarProperties.pyo
+%%ICS%%/Pages/WelcomePage.py
+%%ICS%%/Pages/WelcomePage.pyc
+%%ICS%%/Pages/WelcomePage.pyo
+%%ICS%%/Pages/__init__.py
+%%ICS%%/Pages/__init__.pyc
+%%ICS%%/Pages/__init__.pyo
+%%ICS%%/Pictures/boussole.gif
+%%ICS%%/Pictures/cardfile.gif
+%%ICS%%/Pictures/cardfile2.gif
+%%ICS%%/Pictures/cathy.gif
+%%ICS%%/Pictures/chimie.gif
+%%ICS%%/Pictures/chrono.gif
+%%ICS%%/Pictures/cluster.gif
+%%ICS%%/Pictures/construct.gif
+%%ICS%%/Pictures/cpu.gif
+%%ICS%%/Pictures/danger.gif
+%%ICS%%/Pictures/divers030.gif
+%%ICS%%/Pictures/exit.gif
+%%ICS%%/Pictures/file_cab.gif
+%%ICS%%/Pictures/file_cabinet.gif
+%%ICS%%/Pictures/fileedit.gif
+%%ICS%%/Pictures/fileview.gif
+%%ICS%%/Pictures/folder.gif
+%%ICS%%/Pictures/graduate.gif
+%%ICS%%/Pictures/gravity.gif
+%%ICS%%/Pictures/ihm.gif
+%%ICS%%/Pictures/launcher.gif
+%%ICS%%/Pictures/logfile.gif
+%%ICS%%/Pictures/mana_blk.gif
+%%ICS%%/Pictures/menatwork.gif
+%%ICS%%/Pictures/opennew.gif
+%%ICS%%/Pictures/openold.gif
+%%ICS%%/Pictures/ordinateur.gif
+%%ICS%%/Pictures/pan_exit.gif
+%%ICS%%/Pictures/parall.gif
+%%ICS%%/Pictures/pendules002.gif
+%%ICS%%/Pictures/planetes019.gif
+%%ICS%%/Pictures/planetes047.gif
+%%ICS%%/Pictures/printcase.gif
+%%ICS%%/Pictures/question.gif
+%%ICS%%/Pictures/refresh.gif
+%%ICS%%/Pictures/reload.gif
+%%ICS%%/Pictures/resize.gif
+%%ICS%%/Pictures/rubic1a.gif
+%%ICS%%/Pictures/rubic1b.gif
+%%ICS%%/Pictures/rubic1c.gif
+%%ICS%%/Pictures/sablier.gif
+%%ICS%%/Pictures/saturne.gif
+%%ICS%%/Pictures/save.gif
+%%ICS%%/Pictures/search1.gif
+%%ICS%%/Pictures/skull.gif
+%%ICS%%/Pictures/telephone.gif
+%%ICS%%/Pictures/tete_de_mort.gif
+%%ICS%%/Pictures/tree_green_file.gif
+%%ICS%%/Pictures/tree_red_file.gif
+%%ICS%%/Pictures/tree_white_file.gif
+%%ICS%%/Pictures/uc.gif
+%%ICS%%/__init__.py
+%%ICS%%/__init__.pyc
+%%ICS%%/__init__.pyo
+%%ICS%%/ics.py
+%%ICS%%/ics.pyc
+%%ICS%%/ics.pyo
+%%ICS%%/testSuite.py
+%%ICS%%/testSuite.pyc
+%%ICS%%/testSuite.pyo
+%%ICS%%/toolbin/archive
+%%ICS%%/toolbin/clean
+@dirrm %%ICS%%/toolbin
+@dirrm %%ICS%%/Pictures
+@dirrm %%ICS%%/Pages
+@dirrm %%ICS%%/Base
+@dirrm %%ICS%%
+@dirrm Saturne/Interface
diff --git a/science/ncs/Makefile b/science/ncs/Makefile
new file mode 100644
index 000000000000..57f574070bf5
--- /dev/null
+++ b/science/ncs/Makefile
@@ -0,0 +1,177 @@
+# New ports collection makefile for: ncs
+# Date created: Sun 1 apr 2007
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= ncs
+DISTVERSION= 1.3.f
+CATEGORIES= science parallel
+MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Code_Saturne Kernel
+
+LIB_DEPENDS= fvm.0:${PORTSDIR}/science/fvm
+RUN_DEPENDS= xmgrace:${PORTSDIR}/math/grace \
+ ecs:${PORTSDIR}/science/ecs
+
+REL_DATE= 070305
+
+USE_GNOME= libxml2
+USE_PYTHON= yes
+BUILD_WRKSRC= ${WRKSRC}/bin
+MAKE_ENV= NOM_ARCH=${OPSYS} CS_HOME=${WRKSRC} CS_MPI_PATH=${MPI_HOME}/bin \
+ PTHREAD_LIBS=${PTHREAD_LIBS} TERM=${TERM} \
+ MPI_HOME=${MPI_HOME} MPI_LIBS="${MPI_LIBS}"
+
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+RUN_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+FORTRANLIBDIR= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``
+FORTRANLIBDIR2= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``/../../../
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+
+TERM?= vt100 # Default value needed for tput in jail or tinderbox
+
+PATHCS= ${PREFIX}/Saturne
+CS_HOME= ${PATHCS}/Noyau/ncs
+ECS_HOME= ${PATHCS}/Enveloppe/ecs
+PLIST_SUB= CS_HOME=Saturne/Noyau/ncs ECS_HOME=Saturne/Enveloppe/ecs
+
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+SUB_DIRS= data include src users
+BIN_SCRIPTS= autovalid compiler_version cree_sat gracehst grp info_cs \
+ lance_install rang_mpi.sh verifmail
+BIN_DATAS= Makefile SaturneGUI autovalid.xml cs_profile lance lance.help \
+ macros_FreeBSD.mk
+
+.if defined(WITH_LAM)
+MPI_HOME= ${LOCALBASE}
+BUILD_DEPENDS+= ${MPI_HOME}/lib/liblam.a:${PORTSDIR}/net/lam
+RUN_DEPENDS+= ${MPI_HOME}/bin/lamboot:${PORTSDIR}/net/lam
+MPI_LIBS= -lmpi -llam
+.elif defined(WITH_OPENMPI)
+MPI_HOME= ${LOCALBASE}/mpi/openmpi
+BUILD_DEPENDS+= ${MPI_HOME}/bin/mpicc:${PORTSDIR}/net/openmpi
+RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:${PORTSDIR}/net/openmpi
+MPI_LIBS= -lmpi -lorte -lopal
+.else
+MPI_HOME= ${LOCALBASE}/mpich2
+BUILD_DEPENDS+= ${MPI_HOME}/bin/mpicc:${PORTSDIR}/net/mpich2
+RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:${PORTSDIR}/net/mpich2
+MPI_LIBS= -lmpich
+.endif
+
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS+= pdftex:${PORTSDIR}/print/teTeX-base
+DOCS= AUTHORS COMPATIBILITY Changelog TODO
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
+WITH_ATLAS= yes
+.endif
+.if defined(WITH_ATLAS) && !defined(WITHOUT_ATLAS)
+LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
+BLAS_LIB= -lcblas -lf77blas -latlas -L${FORTRANLIBDIR} -L${FORTRANLIBDIR2} -lgfortranbegin -lgfortran
+.elif !defined(WITHOUT_BLAS)
+LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
+BLAS_LIB= -lblas
+.endif
+
+.if exists(${X11BASE}/bin/acroread)
+RUN_DEPENDS+= acroread:${PORTSDIR}/print/acroreadwrapper
+.else
+RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
+.endif
+
+.if exists(${LOCALBASE}/apps/homard/homard)
+WITH_HOMARD= yes
+.endif
+.if defined(WITH_HOMARD)
+RUN_DEPENDS+= ${LOCALBASE}/apps/homard/homard:${PORTSDIR}/french/homard
+.endif
+
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "By default ncs is built with MPICH2, but you can set WITH_LAM or WITH_OPENMPI"
+ @${ECHO_MSG} "if you prefer."
+ @${ECHO_MSG}
+ @${ECHO_MSG} "By default ncs is built with BLAS, unless ATLAS is installed, but you can set"
+ @${ECHO_MSG} "WITHOUT_BLAS or WITHOUT_ATLAS if you prefer."
+ @${ECHO_MSG}
+
+pre-patch:
+ ${CP} -p ${WRKSRC}/bin/macros_Linux.mk ${WRKSRC}/bin/macros_FreeBSD.mk
+
+do-configure:
+ ${REINPLACE_CMD} -e 's|%%PATHCS%%|${PATHCS}|' \
+ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ -e 's|%%FC%%|${FC}|' \
+ -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
+ -e 's|%%MPI_HOME%%|${MPI_HOME}|' \
+ -e 's|%%MPI_LIBS%%|${MPI_LIBS}|' \
+ ${BUILD_WRKSRC}/cs_profile
+ ${REINPLACE_CMD} \
+ -e 's|/home/saturne/opt/python/arch/$${NOM_ARCH}/bin/python|${PYTHON_CMD}|' \
+ ${BUILD_WRKSRC}/SaturneGUI
+.if !defined(WITHOUT_BLAS) && !defined(WITHOUT_ATLAS)
+ ${REINPLACE_CMD} -e 's|BLAS =0|BLAS =1|' \
+ -e 's|BLAS_INC =|BLAS_INC =-I${LOCALBASE}/include|' \
+ -e 's|BLAS_LDFLAGS =|BLAS_LDFLAGS =${BLAS_LIB}|' \
+ ${BUILD_WRKSRC}/macros_FreeBSD.mk
+.endif
+
+do-build:
+ (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./lance_install)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "===> Build terminated."
+ @${ECHO_MSG}
+ (cd ${WRKSRC}/arch/${OPSYS}; ${FIND} . -name ".readme*" | ${XARGS} \
+ ${GREP} -B 10 '^Stop in ') || ${TRUE}
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "===> Building documentation."
+ @${ECHO_MSG}
+ (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./lance_install DOC)
+.endif
+
+do-install:
+ ${FIND} ${WRKSRC}/arch/${OPSYS}/lib -name "libsaturne*" -exec \
+ ${INSTALL_DATA} {} ${PREFIX}/lib \;
+ ${MKDIR} ${CS_HOME}/bin ${CS_HOME}/arch/${OPSYS}/lib ${ECS_HOME}/bin
+ ${LN} -sf ${PREFIX}/lib/libsaturne*.a ${CS_HOME}/arch/${OPSYS}/lib/
+.for sd in ${SUB_DIRS}
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} ${sd} ${CS_HOME})
+.endfor
+ ${CHMOD} -R u+w ${CS_HOME}/users
+ (cd ${BUILD_WRKSRC}/ && ${COPYTREE_SHARE} Autovalidation ${CS_HOME}/bin/)
+ ${INSTALL_SCRIPT} ${BIN_SCRIPTS:S|^|${BUILD_WRKSRC}/|} ${CS_HOME}/bin/
+ ${INSTALL_DATA} ${BIN_DATAS:S|^|${BUILD_WRKSRC}/|} ${CS_HOME}/bin/
+ ${CHMOD} u+w ${CS_HOME}/bin/lance
+ ${LN} -sf ${LOCALBASE}/bin/ecs ${ECS_HOME}/bin/
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${CS_HOME}/bin/Autovalidation
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${CS_HOME}/bin/Autovalidation
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR} ${CS_HOME}/doc/NOYAU/ ${CS_HOME}/doc/UTILISATION/
+ ${INSTALL_DATA} ${WRKSRC}/doc/NOYAU/noyau.pdf ${CS_HOME}/doc/NOYAU/
+ ${INSTALL_DATA} ${WRKSRC}/doc/UTILISATION/saturne.pdf ${CS_HOME}/doc/UTILISATION/
+ ${LN} -sf ${CS_HOME}/doc/NOYAU/noyau.pdf ${CS_HOME}/doc/UTILISATION/saturne.pdf \
+ ${DOCSDIR}/
+ ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ ${LN} -sf ${LOCALBASE}/share/doc/ecs/ ${ECS_HOME}/doc
+.endif
+
+post-install:
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/science/ncs/distinfo b/science/ncs/distinfo
new file mode 100644
index 000000000000..5b5c59e2468f
--- /dev/null
+++ b/science/ncs/distinfo
@@ -0,0 +1,3 @@
+MD5 (ncs-1.3.f.tar.gz) = 19d052524c8df37090e1a0553683a152
+SHA256 (ncs-1.3.f.tar.gz) = d7e63c8768bf0b5d35d0c52f0ea084e6f3541f762d2583b6c3d6ca0031886186
+SIZE (ncs-1.3.f.tar.gz) = 5175928
diff --git a/science/ncs/files/patch-bin_Makefile b/science/ncs/files/patch-bin_Makefile
new file mode 100644
index 000000000000..9ad60fd75ca6
--- /dev/null
+++ b/science/ncs/files/patch-bin_Makefile
@@ -0,0 +1,64 @@
+--- bin/Makefile.orig Thu Mar 1 12:23:39 2007
++++ bin/Makefile Sun Jun 17 10:48:01 2007
+@@ -186,7 +186,6 @@
+
+ link:
+ @make privtitre
+- @make privconfig
+ @make privcompil
+ @make privlink
+ @make privfin
+@@ -287,7 +286,7 @@
+ if [ ${BLAS} -eq 1 ] ;\
+ then dir_inc_cs="$${dir_inc_cs} $(BLAS_INC)" ;\
+ cflags="$${cflags} -D_CS_HAVE_BLAS " ;\
+- fflags="$${fflags} -WF,-D_CS_HAVE_BLAS " ;\
++ fflags="$${fflags} -D_CS_HAVE_BLAS " ;\
+ fi ; \
+ if [ ${XML} -eq 1 ] ;\
+ then dir_inc_cs="$${dir_inc_cs} $(XML_INC)" ;\
+@@ -881,7 +880,7 @@
+ echo "$(BO)$(BLD_CS)/$(NOM_ARCH)/$${module}$(NO)" ;\
+ echo ;\
+ tput init ;\
+- exit -1 ;\
++ exit 1 ;\
+ fi ;\
+ fi ;\
+ else module="$(MYMODULE)" ;\
+@@ -901,7 +900,7 @@
+ echo "$(BO)$(BLD_CS)/$(NOM_ARCH)/$${module}$(NO)" ;\
+ echo ;\
+ tput init ;\
+- exit -1 ;\
++ exit 1 ;\
+ fi ;\
+ fi ;\
+ fi ;\
+@@ -914,7 +913,7 @@
+ echo "$(BO) Il faut être dans le repertoire général $(DIR_CS)$(NO)" ;\
+ echo ;\
+ tput init ;\
+- exit -1 ;\
++ exit 1 ;\
+ fi ;\
+ if [ ! "$${modtrav}" = "$${module}" ] ;\
+ then echo ;\
+@@ -926,7 +925,7 @@
+ fi ;\
+ echo ;\
+ tput init ;\
+- exit -1 ;\
++ exit 1 ;\
+ fi ;\
+ if [ ! "$${opttrav}" = "$(MYOPT)" ] ;\
+ then echo ;\
+@@ -940,7 +939,7 @@
+ fi ;\
+ echo ;\
+ tput init ;\
+- exit -1 ;\
++ exit 1 ;\
+ fi ;\
+ if [ "$${modtrav}" = "BASE" ] ;\
+ then INC_CS="toto" ;\
diff --git a/science/ncs/files/patch-bin_compiler_version b/science/ncs/files/patch-bin_compiler_version
new file mode 100644
index 000000000000..101492b8fa40
--- /dev/null
+++ b/science/ncs/files/patch-bin_compiler_version
@@ -0,0 +1,24 @@
+--- ./bin/compiler_version.orig Thu Mar 1 12:23:39 2007
++++ ./bin/compiler_version Sun May 6 22:49:29 2007
+@@ -132,8 +132,8 @@
+ # sur hp, par exemple f90 +version n'en cree pas)
+
+ echo ' ' >> ${compillog}
+- if [ -f cs12.exe ] ; then
+- ./cs12.exe >> ${compillog} 2>&1
++ if [ -f cs13.exe ] ; then
++ ./cs13.exe >> ${compillog} 2>&1
+ else
+ echo ' Pas d executable test FORTRAN ' >> ${compillog}
+ fi
+@@ -181,8 +181,8 @@
+ # Execution
+
+ echo ' ' >> ${compillog}
+- if [ -f cs12.exe ] ; then
+- ./cs12.exe >> ${compillog} 2>&1
++ if [ -f cs13.exe ] ; then
++ ./cs13.exe >> ${compillog} 2>&1
+ echo ' ' >> ${compillog}
+ else
+ echo ' Pas d executable test C ' >> ${compillog}
diff --git a/science/ncs/files/patch-bin_cree_sat b/science/ncs/files/patch-bin_cree_sat
new file mode 100644
index 000000000000..80c11a68fc8d
--- /dev/null
+++ b/science/ncs/files/patch-bin_cree_sat
@@ -0,0 +1,37 @@
+--- bin/cree_sat.orig Thu Mar 1 12:23:39 2007
++++ bin/cree_sat Mon May 7 23:56:27 2007
+@@ -156,12 +156,12 @@
+ thch=THCH
+ mkdir ${CAS}/DATA/$thch
+ for var in dp_C3P dp_C3PSJ dp_ELE dp_FCP ; do
+- cp $CS_HOME/data/thch/$var $CAS/DATA/$thch/.
++ cp -f $CS_HOME/data/thch/$var $CAS/DATA/$thch/.
+ done
+
+ gui=SaturneGUI
+ if [ "$IHM" = "ihm" ] ; then
+- cp $SCRIPT_HOME/$gui ${CAS}/DATA/.
++ cp -f $SCRIPT_HOME/$gui ${CAS}/DATA/.
+ sed "s/NOMCSGUIHOME/$CSGUIHOMEBCKSLH/g" $CAS/DATA/$gui >cas.tmp
+ mv -f cas.tmp $CAS/DATA/$gui
+ chmod +x $CAS/DATA/$gui
+@@ -169,7 +169,7 @@
+
+ # recopie des src utilisateur et masquage des repertoires CVS
+ users=USERS
+- cp -r $CS_HOME/users $CAS/FORT/$users
++ cp -Rf $CS_HOME/users $CAS/FORT/$users
+ listedircvs=`find $CAS/FORT/$users -name CVS -print`
+ for dir in $listedircvs ; do
+ mv $dir `dirname ${dir}`/.CVS
+@@ -178,8 +178,8 @@
+ # sur cluster, le nom est limite a 15 caracteres
+ NOMETCAS=`echo ${etude}${cas}|cut -c1-15`
+
+- cp $SCRIPT_HOME/lance $CAS/SCRIPTS
+- cp $SCRIPT_HOME/lance.help $CAS/SCRIPTS
++ cp -f $SCRIPT_HOME/lance $CAS/SCRIPTS
++ cp -f $SCRIPT_HOME/lance.help $CAS/SCRIPTS
+ FICREPBASECASBKSLH=$CAS/SCRIPTS/.repbasecasbkslh
+ echo $REPBASECAS | sed -e "s/\//\\\\\//g" > $FICREPBASECASBKSLH
+ REPBASECASBCKSLH=`cat $FICREPBASECASBKSLH`
diff --git a/science/ncs/files/patch-bin_cs_profile b/science/ncs/files/patch-bin_cs_profile
new file mode 100644
index 000000000000..aae5092eeda6
--- /dev/null
+++ b/science/ncs/files/patch-bin_cs_profile
@@ -0,0 +1,61 @@
+--- bin/cs_profile.orig Thu Mar 1 12:23:39 2007
++++ bin/cs_profile Tue May 8 15:34:20 2007
+@@ -48,18 +48,33 @@
+
+ if [ "$NOM_ARCH" = "OSF1" -o "$NOM_ARCH" = "Linux_CCRT" ] ; then
+ PATHCS=/home/saturne/Saturne
+- elif [ "$NOM_ARCH" = "Blue_Gene_L" ] ; then
++ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
++ PATHCS=%%LOCALBASE%%/Saturne
++ elif [ "$NOM_ARCH" = "Blue_Gene_L" ] ; then
+ PATHCS=/gpfs2/home/saturne
+ else
+ PATHCS=/home/saturne
+ fi
+- CS_HOME=${PATHCS}/Noyau/ncs-1.3.f
+- ECS_HOME=${PATHCS}/Enveloppe/ecs-1.3.c
+- CSGUI_HOME=${PATHCS}/Interface/ics-1.1.l
+- SYRCS_HOME=${PATHCS}/opt/syr_cs-2.0.1
++ if [ "$NOM_ARCH" = "FreeBSD" ] ; then
++ CS_HOME=${PATHCS}/Noyau/ncs
++ ECS_HOME=${PATHCS}/Enveloppe/ecs
++ CSGUI_HOME=${PATHCS}/Interface/ics
++ SYRCS_HOME=${PATHCS}/opt/syr_cs
++# Variables specifiques a passer au Makefile FreeBSD par lance
++ LOCALBASE=%%LOCALBASE%% ; export LOCALBASE
++ FC=%%FC%% ; export FC
++ PTHREAD_LIBS=%%PTHREAD_LIBS%% ; export PTHREAD_LIBS
++ else
++ CS_HOME=${PATHCS}/Noyau/ncs-1.3.f
++ ECS_HOME=${PATHCS}/Enveloppe/ecs-1.3.c
++ CSGUI_HOME=${PATHCS}/Interface/ics-1.1.l
++ SYRCS_HOME=${PATHCS}/opt/syr_cs-2.0.1
++ fi
+ #
+ if [ "$NOM_ARCH" = "Linux" -a -d /home/prevalcs/HOMARD ] ; then
+ CSHOMARD_HOME=/home/prevalcs/HOMARD
++ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
++ CSHOMARD_HOME=%%LOCALBASE%%/apps/homard
+ else
+ CSHOMARD_HOME=
+ fi
+@@ -70,7 +85,7 @@
+ # Librairies pour l'interface
+ if [ "$NOM_ARCH" = "OSF1" -o "$NOM_ARCH" = "Linux_CCRT" ] ; then
+ LD_LIBRARY_PATH=.:/home/saturne/Saturne/opt/tcl8.3/arch/$NOM_ARCH/lib:/home/saturne/Saturne/opt/libxml2-2.6.19/arch/$NOM_ARCH/lib:$LD_LIBRARY_PATH
+- else
++ elif [ "$NOM_ARCH" != "FreeBSD" ] ; then
+ LD_LIBRARY_PATH=.:/home/saturne/opt/tcl8.3/arch/$NOM_ARCH/lib:/home/saturne/opt/libxml2-2.6.19/arch/$NOM_ARCH/lib:$LD_LIBRARY_PATH
+ fi
+
+@@ -83,6 +98,10 @@
+ CS_MPI_PATH=/home/saturne/opt/openmpi-1.1.1/arch/Linux/bin
+ elif [ "$NOM_ARCH" = "Linux_Ch" ] ; then
+ CS_MPI_PATH=/usr/local/mpichgm-1.2.6.14b-64b/bin
++ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
++ MPI_HOME=%%MPI_HOME%% ; export MPI_HOME
++ MPI_LIBS=%%MPI_LIBS%% ; export MPI_LIBS
++ CS_MPI_PATH=${MPI_HOME}/bin
+ else
+ CS_MPI_PATH=
+ fi
diff --git a/science/ncs/files/patch-bin_gracehst b/science/ncs/files/patch-bin_gracehst
new file mode 100644
index 000000000000..40d165d4d611
--- /dev/null
+++ b/science/ncs/files/patch-bin_gracehst
@@ -0,0 +1,17 @@
+--- bin/gracehst.orig Thu Mar 1 12:23:39 2007
++++ bin/gracehst Mon May 7 14:16:22 2007
+@@ -1,4 +1,4 @@
+-#!/bin/ksh
++#! /bin/sh
+ #============================================================================
+ #
+ # Code_Saturne version 1.3
+@@ -30,7 +30,7 @@
+ #
+ #============================================================================
+ #
+-if [ "$1" = "-h" -o "$1" = "-h" -o "$1" = "-h" ] ; then
++if [ "$1" = "-h" -o "$1" = "-help" -o "$#" = "0" ] ; then
+ echo ' '
+ echo ' gracehst: appel de grace -nxy sur un fichier historique '
+ echo ' de Code_Saturne en eliminant la premiere colonne. '
diff --git a/science/ncs/files/patch-bin_grp b/science/ncs/files/patch-bin_grp
new file mode 100644
index 000000000000..85371f4f3dc0
--- /dev/null
+++ b/science/ncs/files/patch-bin_grp
@@ -0,0 +1,8 @@
+--- bin/grp.orig Thu Mar 1 12:23:39 2007
++++ bin/grp Mon May 7 14:08:44 2007
+@@ -1,4 +1,4 @@
+-#!/bin/ksh
++#!/bin/sh
+ #============================================================================
+ #
+ # Code_Saturne version 1.3
diff --git a/science/ncs/files/patch-bin_macros_FreeBSD.mk b/science/ncs/files/patch-bin_macros_FreeBSD.mk
new file mode 100644
index 000000000000..e193b979e480
--- /dev/null
+++ b/science/ncs/files/patch-bin_macros_FreeBSD.mk
@@ -0,0 +1,146 @@
+--- bin/macros_FreeBSD.mk.orig Thu Mar 1 12:23:39 2007
++++ bin/macros_FreeBSD.mk Tue May 8 15:06:34 2007
+@@ -1,3 +1,4 @@
++# $FreeBSD$
+ #============================================================================
+ #
+ # Code_Saturne version 1.3
+@@ -29,13 +30,13 @@
+ #
+ #============================================================================
+ #
+-# Macros du Makefile Code_Saturne pour Linux
+-############################################
++# Macros du Makefile Code_Saturne pour FreeBSD
++##############################################
+ #
+ # Macro pour BFT
+ #---------------
+
+-BFT_HOME =/home/saturne/opt/bft-1.0.3/arch/Linux
++BFT_HOME =${LOCALBASE}
+
+ BFT_INC =-I$(BFT_HOME)/include
+ BFT_LDFLAGS =-L$(BFT_HOME)/lib -lbft
+@@ -43,7 +44,7 @@
+ # Macro pour FVM
+ #---------------
+
+-FVM_HOME =/home/saturne/opt/fvm-0.6.3/arch/Linux
++FVM_HOME =${LOCALBASE}
+
+ FVM_INC =-I$(FVM_HOME)/include
+ FVM_LDFLAGS =-L$(FVM_HOME)/lib -lfvm
+@@ -57,9 +58,8 @@
+ MPE_COMM =1
+
+ # Pour Open MPI sur saturne
+-MPI_HOME =/home/saturne/opt/openmpi-1.1.1/arch/Linux
+-MPI_INC =-isystem$(MPI_HOME)/include
+-MPI_LIB =-pthread -L$(MPI_HOME)/lib -lmpi -lorte -lopal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
++MPI_INC =-I$(MPI_HOME)/include
++MPI_LIB =-L$(MPI_HOME)/lib ${MPI_LIBS} $(PTHREAD_LIBS)
+
+
+ # Macro pour Sockets
+@@ -76,10 +76,10 @@
+ # Option XML
+ XML =1
+
+-XML_HOME = /home/saturne/opt/libxml2-2.6.19
++XML_HOME =${LOCALBASE}
+
+ XML_INC =-I$(XML_HOME)/include/libxml2
+-XML_LIB =-L$(XML_HOME)/arch/Linux/lib -lxml2
++XML_LIB =-L$(XML_HOME)/lib -lxml2
+
+
+ # Macro pour BLAS
+@@ -100,36 +100,36 @@
+ # Compilateur C natif
+ #--------------------
+
+-CCOMP = /home/saturne/opt/gcc-4.1.1/arch/Linux/bin/gcc
++CCOMP = $(CC)
+
+ CCOMPFLAGSDEF = -std=c99 -funsigned-char -pedantic -W -Wall -Wshadow \
+ -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings \
+ -Wstrict-prototypes -Wmissing-prototypes \
+- -Wmissing-declarations -Wnested-externs -Wno-uninitialized
++ -Wmissing-declarations -Wnested-externs -Wno-uninitialized
+
+-CCOMPFLAGS = $(CCOMPFLAGSDEF) -O -Wno-unused
+-CCOMPFLAGSOPTPART1 = $(CCOMPFLAGSDEF) -O
+-CCOMPFLAGSOPTPART2 = $(CCOMPFLAGSDEF) -O
+-CCOMPFLAGSOPTPART3 = $(CCOMPFLAGSDEF) -O
+-CCOMPFLAGSLO = $(CCOMPFLAGSDEF) -O0
+-CCOMPFLAGSDBG = $(CCOMPFLAGSDEF) -g3
++CCOMPFLAGS = $(CCOMPFLAGSDEF) $(CFLAGS) -Wno-unused
++CCOMPFLAGSOPTPART1 = $(CCOMPFLAGSDEF) $(CFLAGS)
++CCOMPFLAGSOPTPART2 = $(CCOMPFLAGSDEF) $(CFLAGS)
++CCOMPFLAGSOPTPART3 = $(CCOMPFLAGSDEF) $(CFLAGS)
++CCOMPFLAGSLO = $(CCOMPFLAGSDEF) -O0
++CCOMPFLAGSDBG = $(CCOMPFLAGSDEF) -g
+ CCOMPFLAGSPROF = -pg
+-CCOMPFLAGSVERS = -v
++CCOMPFLAGSVERS = -v
+
+
+ # Compilateur FORTRAN
+ #--------------------
+ # Profiling gprof : -pg -a
+
+-FTNCOMP = /home/saturne/opt/gcc-4.1.1/arch/Linux/bin/gfortran
++FTNCOMP = $(FC)
+
+ FTNCOMPFLAGSDEF = -I.
+
+-FTNCOMPFLAGS = $(FTNCOMPFLAGSDEF) -O1
+-FTNCOMPFLAGSOPTPART1 = $(FTNCOMPFLAGSDEF) -O2
+-FTNCOMPFLAGSOPTPART2 = $(FTNCOMPFLAGSDEF) -O6
+-FTNCOMPFLAGSOPTPART3 = $(FTNCOMPFLAGSDEF) -O0
+-FTNCOMPFLAGSLO = $(FTNCOMPFLAGSDEF) -O0
++FTNCOMPFLAGS = $(FTNCOMPFLAGSDEF) $(FFLAGS)
++FTNCOMPFLAGSOPTPART1 = $(FTNCOMPFLAGSDEF) $(FFLAGS)
++FTNCOMPFLAGSOPTPART2 = $(FTNCOMPFLAGSDEF) $(FFLAGS)
++FTNCOMPFLAGSOPTPART3 = $(FTNCOMPFLAGSDEF) $(FFLAGS)
++FTNCOMPFLAGSLO = $(FTNCOMPFLAGSDEF) $(FFLAGS)
+ FTNCOMPFLAGSDBG = $(FTNCOMPFLAGSDEF) -g
+ FTNCOMPFLAGSPROF = -pg
+ FTNCOMPFLAGSVERS = -v
+@@ -140,13 +140,13 @@
+
+ # Linker
+
+-LDEDL = /home/saturne/opt/gcc-4.1.1/arch/Linux/bin/gfortran
+-LDEDLFLAGS = -O
+-LDEDLFLAGSLO = -O0
++LDEDL = $(FC)
++LDEDLFLAGS = $(LDFLAGS)
++LDEDLFLAGSLO = $(LDFLAGS)
+ LDEDLFLAGSDBG = -g
+ LDEDLFLAGSPROF = -pg
+ LDEDLFLAGSVERS = -v
+-LDEDLRPATH = -rdynamic -Wl,-rpath -Wl,/home/saturne/opt/gcc-4.1.1/arch/Linux/lib:
++LDEDLRPATH = -rdynamic -Wl,-rpath -Wl,
+
+
+ # Positionnement des variables pour le pre-processeur
+@@ -162,7 +162,7 @@
+
+ # Librairies de base toujours prises en compte
+
+-LIBBASIC = $(BFT_LDFLAGS) $(FVM_LDFLAGS) -lm -lpthread
++LIBBASIC = $(BFT_LDFLAGS) $(FVM_LDFLAGS) -lm $(PTHREAD_LIBS)
+
+ # Librairies en mode sans option
+
+@@ -178,7 +178,7 @@
+
+ # Librairie en mode ElectricFence (malloc debugger)
+
+-LIBEF =-L/home/saturne/opt/efence-2.1.14/arch/Linux/lib -lefence
++LIBEF =-L${LOCALBASE}/lib -lefence
+
+ # Liste eventuelle des fichiers a compiler avec des options particulieres
+ #------------------------------------------------------------------------
diff --git a/science/ncs/files/patch-src_base_1_gradco.F b/science/ncs/files/patch-src_base_1_gradco.F
new file mode 100644
index 000000000000..046e3e9aa875
--- /dev/null
+++ b/science/ncs/files/patch-src_base_1_gradco.F
@@ -0,0 +1,11 @@
+--- src/base_1/gradco.F.orig Thu Mar 1 12:23:42 2007
++++ src/base_1/gradco.F Sun Jun 17 15:01:40 2007
+@@ -319,7 +319,7 @@
+ RKGKM1 = RKGK
+ C
+ #if defined(_CS_HAVE_BLAS)
+- CALL DZAXPY(NCEL,RGSRG,DK,UN,GK,UN,DK,UN)
++ CALL CAXPY(NCEL,RGSRG,DK,UN,GK,UN,DK,UN)
+ #else
+ DO IEL=1,NCEL
+ DK(IEL) = GK(IEL) +RGSRG*DK(IEL)
diff --git a/science/ncs/files/pkg-message.in b/science/ncs/files/pkg-message.in
new file mode 100644
index 000000000000..5de7a18d8b27
--- /dev/null
+++ b/science/ncs/files/pkg-message.in
@@ -0,0 +1,15 @@
+===============================================================================
+The current version of Code_Saturne is located in the directory
+%%PREFIX%%/Saturne/Noyau/ncs
+
+In order to use Code Saturne, every user must add the following line in their
+file ".profile":
+
+. %%PREFIX%%/Saturne/Noyau/ncs/bin/cs_profile
+
+For more information refer to the Code_Saturne documentation, available through
+the "info_cs" command.
+
+The Graphical User Interface must be installed separately; it is available as
+a FreeBSD port: science/ics.
+===============================================================================
diff --git a/science/ncs/pkg-descr b/science/ncs/pkg-descr
new file mode 100644
index 000000000000..c49d204ca46c
--- /dev/null
+++ b/science/ncs/pkg-descr
@@ -0,0 +1,19 @@
+Code Saturne is a system designed to solve the Navier-Stokes equations in the
+cases of 2D, 2D axisymmetric or 3D flows. Its main module is designed for the
+simulation of flows which may be steady or unsteady, laminar or turbulent,
+incompressible or potentially dilatable, isothermal or not.
+Scalars and turbulent fluctuations of scalars can be taken into account. The
+code includes specific modules, referred to as "specific physics", for the
+treatment of lagrangian particle tracking, semi-transparent radiative transfer,
+gas combustion, pulverised coal combustion, electricity effects (Joule effect
+and electric arcs) and compressible flows. The code also includes an engineering
+module, Matisse, for the simulation of nuclear waste surface storage.
+
+Code_Saturne relies on a finite volume discretisation and allows the use of
+various mesh types which may be hybrid (containing several kinds of elements)
+and may have structural non-conformities (hanging nodes).
+
+NCS means "Noyau Code Saturne", i.e. "Code Saturne Kernel". This is the
+numerical solver.
+
+WWW: http://rd.edf.com/code_saturne/
diff --git a/science/ncs/pkg-plist b/science/ncs/pkg-plist
new file mode 100644
index 000000000000..1eaaefce4db3
--- /dev/null
+++ b/science/ncs/pkg-plist
@@ -0,0 +1,655 @@
+%%ECS_HOME%%/bin/ecs
+%%ECS_HOME%%/doc
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneBASE.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneCFBL.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneCOGZ.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneCPLV.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneELEC.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneLAGR.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneMATI.a
+%%CS_HOME%%/arch/FreeBSD/lib/libsaturneRAYT.a
+%%CS_HOME%%/bin/Autovalidation/Case.py
+%%CS_HOME%%/bin/Autovalidation/Case.pyc
+%%CS_HOME%%/bin/Autovalidation/Case.pyo
+%%CS_HOME%%/bin/Autovalidation/Chrono.py
+%%CS_HOME%%/bin/Autovalidation/Chrono.pyc
+%%CS_HOME%%/bin/Autovalidation/Chrono.pyo
+%%CS_HOME%%/bin/Autovalidation/CommandLine.py
+%%CS_HOME%%/bin/Autovalidation/CommandLine.pyc
+%%CS_HOME%%/bin/Autovalidation/CommandLine.pyo
+%%CS_HOME%%/bin/Autovalidation/Common.py
+%%CS_HOME%%/bin/Autovalidation/Common.pyc
+%%CS_HOME%%/bin/Autovalidation/Common.pyo
+%%CS_HOME%%/bin/Autovalidation/Listing.py
+%%CS_HOME%%/bin/Autovalidation/Listing.pyc
+%%CS_HOME%%/bin/Autovalidation/Listing.pyo
+%%CS_HOME%%/bin/Autovalidation/Parser.py
+%%CS_HOME%%/bin/Autovalidation/Parser.pyc
+%%CS_HOME%%/bin/Autovalidation/Parser.pyo
+%%CS_HOME%%/bin/Autovalidation/Study.py
+%%CS_HOME%%/bin/Autovalidation/Study.pyc
+%%CS_HOME%%/bin/Autovalidation/Study.pyo
+%%CS_HOME%%/bin/Autovalidation/__init__.py
+%%CS_HOME%%/bin/Autovalidation/__init__.pyc
+%%CS_HOME%%/bin/Autovalidation/__init__.pyo
+%%CS_HOME%%/bin/Makefile
+%%CS_HOME%%/bin/SaturneGUI
+%%CS_HOME%%/bin/autovalid
+%%CS_HOME%%/bin/autovalid.xml
+%%CS_HOME%%/bin/compiler_version
+%%CS_HOME%%/bin/cree_sat
+%%CS_HOME%%/bin/cs_profile
+%%CS_HOME%%/bin/gracehst
+%%CS_HOME%%/bin/grp
+%%CS_HOME%%/bin/info_cs
+%%CS_HOME%%/bin/lance
+%%CS_HOME%%/bin/lance.help
+%%CS_HOME%%/bin/lance_install
+%%CS_HOME%%/bin/macros_FreeBSD.mk
+%%CS_HOME%%/bin/rang_mpi.sh
+%%CS_HOME%%/bin/verifmail
+%%CS_HOME%%/data/mati/emm.dat
+%%CS_HOME%%/data/mati/emm.geom
+%%CS_HOME%%/data/mati/vault.dat
+%%CS_HOME%%/data/mati/vault.geom
+%%CS_HOME%%/data/thch/JANAF
+%%CS_HOME%%/data/thch/dp_C3P
+%%CS_HOME%%/data/thch/dp_C3PSJ
+%%CS_HOME%%/data/thch/dp_C4P
+%%CS_HOME%%/data/thch/dp_ELE
+%%CS_HOME%%/data/thch/dp_FCP
+%%CS_HOME%%/data/thch/dp_transfo
+%%PORTDOCS%%%%CS_HOME%%/doc/NOYAU/noyau.pdf
+%%PORTDOCS%%%%CS_HOME%%/doc/UTILISATION/saturne.pdf
+%%CS_HOME%%/include/base/albase.h
+%%CS_HOME%%/include/base/alstru.h
+%%CS_HOME%%/include/base/cs_ale.h
+%%CS_HOME%%/include/base/cs_base.h
+%%CS_HOME%%/include/base/cs_comm.h
+%%CS_HOME%%/include/base/cs_couplage.h
+%%CS_HOME%%/include/base/cs_gui.h
+%%CS_HOME%%/include/base/cs_gui_matisse.h
+%%CS_HOME%%/include/base/cs_gui_radiative_transfer.h
+%%CS_HOME%%/include/base/cs_gui_util.h
+%%CS_HOME%%/include/base/cs_maillage.h
+%%CS_HOME%%/include/base/cs_maillage_connect.h
+%%CS_HOME%%/include/base/cs_maillage_grd.h
+%%CS_HOME%%/include/base/cs_maillage_select.h
+%%CS_HOME%%/include/base/cs_maillage_solcom.h
+%%CS_HOME%%/include/base/cs_mesh_quality.h
+%%CS_HOME%%/include/base/cs_messages_ecs.h
+%%CS_HOME%%/include/base/cs_msg.h
+%%CS_HOME%%/include/base/cs_opts.h
+%%CS_HOME%%/include/base/cs_parallel.h
+%%CS_HOME%%/include/base/cs_perio.h
+%%CS_HOME%%/include/base/cs_post.h
+%%CS_HOME%%/include/base/cs_suite.h
+%%CS_HOME%%/include/base/cs_syr_coupling.h
+%%CS_HOME%%/include/base/cs_syr_messages.h
+%%CS_HOME%%/include/base/cs_tpar1d.h
+%%CS_HOME%%/include/base/cs_ventil.h
+%%CS_HOME%%/include/base/cs_voiset.h
+%%CS_HOME%%/include/base/cstnum.h
+%%CS_HOME%%/include/base/cstphy.h
+%%CS_HOME%%/include/base/dimens.h
+%%CS_HOME%%/include/base/dimfbr.h
+%%CS_HOME%%/include/base/entsor.h
+%%CS_HOME%%/include/base/ihmpre.h
+%%CS_HOME%%/include/base/memoir.h
+%%CS_HOME%%/include/base/mltgrd.h
+%%CS_HOME%%/include/base/numvar.h
+%%CS_HOME%%/include/base/optcal.h
+%%CS_HOME%%/include/base/parall.h
+%%CS_HOME%%/include/base/paramx.h
+%%CS_HOME%%/include/base/period.h
+%%CS_HOME%%/include/base/pointe.h
+%%CS_HOME%%/include/base/tcpumx.h
+%%CS_HOME%%/include/base/tremai.h
+%%CS_HOME%%/include/base/vector.h
+%%CS_HOME%%/include/base/vide.h
+%%CS_HOME%%/include/base/vortex.h
+%%CS_HOME%%/include/cfbl/cfpoin.h
+%%CS_HOME%%/include/cogz/coincl.h
+%%CS_HOME%%/include/cogz/vide.h
+%%CS_HOME%%/include/cplv/cpincl.h
+%%CS_HOME%%/include/cplv/vide.h
+%%CS_HOME%%/include/elec/elincl.h
+%%CS_HOME%%/include/lagr/cs_lagr_perio.h
+%%CS_HOME%%/include/lagr/cs_lagrang.h
+%%CS_HOME%%/include/lagr/lagdim.h
+%%CS_HOME%%/include/lagr/lagpar.h
+%%CS_HOME%%/include/lagr/lagran.h
+%%CS_HOME%%/include/lagr/vide.h
+%%CS_HOME%%/include/mati/matiss.h
+%%CS_HOME%%/include/mati/vide.h
+%%CS_HOME%%/include/pprt/ppincl.h
+%%CS_HOME%%/include/pprt/ppppar.h
+%%CS_HOME%%/include/pprt/ppthch.h
+%%CS_HOME%%/include/pprt/vide.h
+%%CS_HOME%%/include/rayt/radiat.h
+%%CS_HOME%%/include/rayt/vide.h
+%%CS_HOME%%/src/base_1/alelap.F
+%%CS_HOME%%/src/base_1/alemaj.F
+%%CS_HOME%%/src/base_1/altycl.F
+%%CS_HOME%%/src/base_1/armtps.F
+%%CS_HOME%%/src/base_1/calgeo.F
+%%CS_HOME%%/src/base_1/calmom.F
+%%CS_HOME%%/src/base_1/caltri.F
+%%CS_HOME%%/src/base_1/catsma.F
+%%CS_HOME%%/src/base_1/causta.F
+%%CS_HOME%%/src/base_1/clca66.F
+%%CS_HOME%%/src/base_1/cldijp.F
+%%CS_HOME%%/src/base_1/cldipo.F
+%%CS_HOME%%/src/base_1/clpsca.F
+%%CS_HOME%%/src/base_1/clsurn.F
+%%CS_HOME%%/src/base_1/clsyvt.F
+%%CS_HOME%%/src/base_1/clvolc.F
+%%CS_HOME%%/src/base_1/codits.F
+%%CS_HOME%%/src/base_1/condli.F
+%%CS_HOME%%/src/base_1/cou1di.F
+%%CS_HOME%%/src/base_1/cou1do.F
+%%CS_HOME%%/src/base_1/coupbi.F
+%%CS_HOME%%/src/base_1/coupbo.F
+%%CS_HOME%%/src/base_1/covofi.F
+%%CS_HOME%%/src/base_1/cregeo.F
+%%CS_HOME%%/src/base_1/cs_ale.c
+%%CS_HOME%%/src/base_1/cs_base.c
+%%CS_HOME%%/src/base_1/cs_comm.c
+%%CS_HOME%%/src/base_1/cs_couplage.c
+%%CS_HOME%%/src/base_1/cs_gui.c
+%%CS_HOME%%/src/base_1/cs_gui_matisse.c
+%%CS_HOME%%/src/base_1/cs_gui_radiative_transfer.c
+%%CS_HOME%%/src/base_1/cs_gui_util.c
+%%CS_HOME%%/src/base_1/cs_maillage.c
+%%CS_HOME%%/src/base_1/cs_maillage_connect.c
+%%CS_HOME%%/src/base_1/cs_maillage_grd.c
+%%CS_HOME%%/src/base_1/cs_maillage_select.c
+%%CS_HOME%%/src/base_1/cs_maillage_solcom.c
+%%CS_HOME%%/src/base_1/cs_main.c
+%%CS_HOME%%/src/base_1/cs_mesh_quality.c
+%%CS_HOME%%/src/base_1/cs_messages_ecs.c
+%%CS_HOME%%/src/base_1/cs_msg.c
+%%CS_HOME%%/src/base_1/cs_opts.c
+%%CS_HOME%%/src/base_1/cs_parallel.c
+%%CS_HOME%%/src/base_1/cs_perio.c
+%%CS_HOME%%/src/base_1/cs_post.c
+%%CS_HOME%%/src/base_1/cs_post_util.F
+%%CS_HOME%%/src/base_1/cs_suite.c
+%%CS_HOME%%/src/base_1/cs_syr_coupling.c
+%%CS_HOME%%/src/base_1/cs_syr_messages.c
+%%CS_HOME%%/src/base_1/cs_tpar1d.c
+%%CS_HOME%%/src/base_1/cs_ventil.c
+%%CS_HOME%%/src/base_1/cs_voiset.c
+%%CS_HOME%%/src/base_1/csclli.F
+%%CS_HOME%%/src/base_1/csflsh.F
+%%CS_HOME%%/src/base_1/csinit.F
+%%CS_HOME%%/src/base_1/csprnt.F
+%%CS_HOME%%/src/base_1/distpr.F
+%%CS_HOME%%/src/base_1/distyp.F
+%%CS_HOME%%/src/base_1/divmas.F
+%%CS_HOME%%/src/base_1/divrij.F
+%%CS_HOME%%/src/base_1/dttvar.F
+%%CS_HOME%%/src/base_1/dvvpst.F
+%%CS_HOME%%/src/base_1/ecrava.F
+%%CS_HOME%%/src/base_1/ecrhis.F
+%%CS_HOME%%/src/base_1/ecrlis.F
+%%CS_HOME%%/src/base_1/findpt.F
+%%CS_HOME%%/src/base_1/gradco.F
+%%CS_HOME%%/src/base_1/grdcel.F
+%%CS_HOME%%/src/base_1/hturbp.F
+%%CS_HOME%%/src/base_1/iasize.F
+%%CS_HOME%%/src/base_1/idrbla.F
+%%CS_HOME%%/src/base_1/impini.F
+%%CS_HOME%%/src/base_1/iniini.F
+%%CS_HOME%%/src/base_1/inimas.F
+%%CS_HOME%%/src/base_1/inipst.F
+%%CS_HOME%%/src/base_1/initi1.F
+%%CS_HOME%%/src/base_1/initi2.F
+%%CS_HOME%%/src/base_1/iniusi.F
+%%CS_HOME%%/src/base_1/iniva0.F
+%%CS_HOME%%/src/base_1/inivar.F
+%%CS_HOME%%/src/base_1/invers.F
+%%CS_HOME%%/src/base_1/iprbla.F
+%%CS_HOME%%/src/base_1/itrgrp.F
+%%CS_HOME%%/src/base_1/itrmas.F
+%%CS_HOME%%/src/base_1/jacobi.F
+%%CS_HOME%%/src/base_1/lecamo.F
+%%CS_HOME%%/src/base_1/lecamp.F
+%%CS_HOME%%/src/base_1/lecamx.F
+%%CS_HOME%%/src/base_1/ledgeo.F
+%%CS_HOME%%/src/base_1/letgeo.F
+%%CS_HOME%%/src/base_1/matrdt.F
+%%CS_HOME%%/src/base_1/matrix.F
+%%CS_HOME%%/src/base_1/memale.F
+%%CS_HOME%%/src/base_1/memcbr.F
+%%CS_HOME%%/src/base_1/memclg.F
+%%CS_HOME%%/src/base_1/memcli.F
+%%CS_HOME%%/src/base_1/memdis.F
+%%CS_HOME%%/src/base_1/memdtv.F
+%%CS_HOME%%/src/base_1/memdyp.F
+%%CS_HOME%%/src/base_1/memini.F
+%%CS_HOME%%/src/base_1/memkep.F
+%%CS_HOME%%/src/base_1/memkom.F
+%%CS_HOME%%/src/base_1/memnav.F
+%%CS_HOME%%/src/base_1/memnvc.F
+%%CS_HOME%%/src/base_1/mempdc.F
+%%CS_HOME%%/src/base_1/memphy.F
+%%CS_HOME%%/src/base_1/memrij.F
+%%CS_HOME%%/src/base_1/memsca.F
+%%CS_HOME%%/src/base_1/memt1d.F
+%%CS_HOME%%/src/base_1/memtri.F
+%%CS_HOME%%/src/base_1/memtsm.F
+%%CS_HOME%%/src/base_1/memv2f.F
+%%CS_HOME%%/src/base_1/memvor.F
+%%CS_HOME%%/src/base_1/modini.F
+%%CS_HOME%%/src/base_1/modpar.F
+%%CS_HOME%%/src/base_1/navsto.F
+%%CS_HOME%%/src/base_1/newmrk.F
+%%CS_HOME%%/src/base_1/numvec.F
+%%CS_HOME%%/src/base_1/ordita.F
+%%CS_HOME%%/src/base_1/parge1.F
+%%CS_HOME%%/src/base_1/pergra.F
+%%CS_HOME%%/src/base_1/perinr.F
+%%CS_HOME%%/src/base_1/perinu.F
+%%CS_HOME%%/src/base_1/phyvar.F
+%%CS_HOME%%/src/base_1/postlc.F
+%%CS_HOME%%/src/base_1/prcpol.F
+%%CS_HOME%%/src/base_1/precli.F
+%%CS_HOME%%/src/base_1/prmoy0.F
+%%CS_HOME%%/src/base_1/prods2.F
+%%CS_HOME%%/src/base_1/prods3.F
+%%CS_HOME%%/src/base_1/prodsc.F
+%%CS_HOME%%/src/base_1/projts.F
+%%CS_HOME%%/src/base_1/promav.F
+%%CS_HOME%%/src/base_1/proxav.F
+%%CS_HOME%%/src/base_1/rasize.F
+%%CS_HOME%%/src/base_1/reseps.F
+%%CS_HOME%%/src/base_1/resrij.F
+%%CS_HOME%%/src/base_1/resssg.F
+%%CS_HOME%%/src/base_1/resv2f.F
+%%CS_HOME%%/src/base_1/rijech.F
+%%CS_HOME%%/src/base_1/rijthe.F
+%%CS_HOME%%/src/base_1/scalai.F
+%%CS_HOME%%/src/base_1/schtmp.F
+%%CS_HOME%%/src/base_1/semantic.cache
+%%CS_HOME%%/src/base_1/strdep.F
+%%CS_HOME%%/src/base_1/strini.F
+%%CS_HOME%%/src/base_1/strpre.F
+%%CS_HOME%%/src/base_1/tcpumx.c
+%%CS_HOME%%/src/base_1/tdesi1.F
+%%CS_HOME%%/src/base_1/testel.F
+%%CS_HOME%%/src/base_1/tremai.c
+%%CS_HOME%%/src/base_1/tridim.F
+%%CS_HOME%%/src/base_1/tsepdc.F
+%%CS_HOME%%/src/base_1/turent.F
+%%CS_HOME%%/src/base_1/turrij.F
+%%CS_HOME%%/src/base_1/typecl.F
+%%CS_HOME%%/src/base_1/undscr.F
+%%CS_HOME%%/src/base_1/vandri.F
+%%CS_HOME%%/src/base_1/varpos.F
+%%CS_HOME%%/src/base_1/vectds.F
+%%CS_HOME%%/src/base_1/vericl.F
+%%CS_HOME%%/src/base_1/verini.F
+%%CS_HOME%%/src/base_1/verlon.F
+%%CS_HOME%%/src/base_1/vert1d.F
+%%CS_HOME%%/src/base_1/visdyn.F
+%%CS_HOME%%/src/base_1/vislmg.F
+%%CS_HOME%%/src/base_1/vissec.F
+%%CS_HOME%%/src/base_1/vissma.F
+%%CS_HOME%%/src/base_1/vissst.F
+%%CS_HOME%%/src/base_1/vor2cl.F
+%%CS_HOME%%/src/base_1/vordep.F
+%%CS_HOME%%/src/base_1/vorimp.F
+%%CS_HOME%%/src/base_1/vorin0.F
+%%CS_HOME%%/src/base_1/vorini.F
+%%CS_HOME%%/src/base_1/vorlgv.F
+%%CS_HOME%%/src/base_1/vorpre.F
+%%CS_HOME%%/src/base_1/vortex.F
+%%CS_HOME%%/src/base_1/vorver.F
+%%CS_HOME%%/src/base_1/vorvit.F
+%%CS_HOME%%/src/base_1/zufall.F
+%%CS_HOME%%/src/base_2/bilsc2.F
+%%CS_HOME%%/src/base_2/calgrg.F
+%%CS_HOME%%/src/base_2/calhyd.F
+%%CS_HOME%%/src/base_2/cgstab.F
+%%CS_HOME%%/src/base_2/clipke.F
+%%CS_HOME%%/src/base_2/clmlga.F
+%%CS_HOME%%/src/base_2/clprij.F
+%%CS_HOME%%/src/base_2/clptur.F
+%%CS_HOME%%/src/base_2/clpv2f.F
+%%CS_HOME%%/src/base_2/cycmgr.F
+%%CS_HOME%%/src/base_2/filtre.F
+%%CS_HOME%%/src/base_2/gradmc.F
+%%CS_HOME%%/src/base_2/gradrc.F
+%%CS_HOME%%/src/base_2/limgrd.F
+%%CS_HOME%%/src/base_2/memgrg.F
+%%CS_HOME%%/src/base_2/mempgr.F
+%%CS_HOME%%/src/base_2/preduv.F
+%%CS_HOME%%/src/base_2/premgr.F
+%%CS_HOME%%/src/base_2/prolon.F
+%%CS_HOME%%/src/base_2/recvmc.F
+%%CS_HOME%%/src/base_2/resmgr.F
+%%CS_HOME%%/src/base_2/resolp.F
+%%CS_HOME%%/src/base_2/turbke.F
+%%CS_HOME%%/src/base_2/turbkw.F
+%%CS_HOME%%/src/base_2/viscfa.F
+%%CS_HOME%%/src/base_2/visort.F
+%%CS_HOME%%/src/cfbl/cfbsc2.F
+%%CS_HOME%%/src/cfbl/cfbsc3.F
+%%CS_HOME%%/src/cfbl/cfcdts.F
+%%CS_HOME%%/src/cfbl/cfdivs.F
+%%CS_HOME%%/src/cfbl/cfdttv.F
+%%CS_HOME%%/src/cfbl/cfener.F
+%%CS_HOME%%/src/cfbl/cfini1.F
+%%CS_HOME%%/src/cfbl/cfiniv.F
+%%CS_HOME%%/src/cfbl/cfmsfl.F
+%%CS_HOME%%/src/cfbl/cfmsgs.F
+%%CS_HOME%%/src/cfbl/cfmsvl.F
+%%CS_HOME%%/src/cfbl/cfmsvs.F
+%%CS_HOME%%/src/cfbl/cfphyv.F
+%%CS_HOME%%/src/cfbl/cfprop.F
+%%CS_HOME%%/src/cfbl/cfqdmv.F
+%%CS_HOME%%/src/cfbl/cfrusb.F
+%%CS_HOME%%/src/cfbl/cfvarp.F
+%%CS_HOME%%/src/cfbl/cfxtcl.F
+%%CS_HOME%%/src/cfbl/memcfe.F
+%%CS_HOME%%/src/cfbl/memcfm.F
+%%CS_HOME%%/src/cfbl/memcft.F
+%%CS_HOME%%/src/cfbl/memcfv.F
+%%CS_HOME%%/src/cogz/coini1.F
+%%CS_HOME%%/src/cogz/colecd.F
+%%CS_HOME%%/src/cogz/copdfr.F
+%%CS_HOME%%/src/cogz/coprop.F
+%%CS_HOME%%/src/cogz/cothht.F
+%%CS_HOME%%/src/cogz/covarp.F
+%%CS_HOME%%/src/cogz/d3phst.F
+%%CS_HOME%%/src/cogz/d3pini.F
+%%CS_HOME%%/src/cogz/d3pint.F
+%%CS_HOME%%/src/cogz/d3pphy.F
+%%CS_HOME%%/src/cogz/d3ptcl.F
+%%CS_HOME%%/src/cogz/d3pver.F
+%%CS_HOME%%/src/cogz/ebuini.F
+%%CS_HOME%%/src/cogz/ebuphy.F
+%%CS_HOME%%/src/cogz/ebutcl.F
+%%CS_HOME%%/src/cogz/ebutss.F
+%%CS_HOME%%/src/cogz/ebuver.F
+%%CS_HOME%%/src/cogz/lwcgfu.F
+%%CS_HOME%%/src/cogz/lwcini.F
+%%CS_HOME%%/src/cogz/lwcphy.F
+%%CS_HOME%%/src/cogz/lwctcl.F
+%%CS_HOME%%/src/cogz/lwctss.F
+%%CS_HOME%%/src/cogz/lwcurl.F
+%%CS_HOME%%/src/cogz/lwcver.F
+%%CS_HOME%%/src/cogz/pdflwc.F
+%%CS_HOME%%/src/cogz/pdfpp3.F
+%%CS_HOME%%/src/cogz/pdfpp4.F
+%%CS_HOME%%/src/cplv/cpcym1.F
+%%CS_HOME%%/src/cplv/cpflux.F
+%%CS_HOME%%/src/cplv/cpini1.F
+%%CS_HOME%%/src/cplv/cpiniv.F
+%%CS_HOME%%/src/cplv/cplecd.F
+%%CS_HOME%%/src/cplv/cplin1.F
+%%CS_HOME%%/src/cplv/cplini.F
+%%CS_HOME%%/src/cplv/cplph1.F
+%%CS_HOME%%/src/cplv/cplphy.F
+%%CS_HOME%%/src/cplv/cplpro.F
+%%CS_HOME%%/src/cplv/cpltcl.F
+%%CS_HOME%%/src/cplv/cpltss.F
+%%CS_HOME%%/src/cplv/cpltsv.F
+%%CS_HOME%%/src/cplv/cplvar.F
+%%CS_HOME%%/src/cplv/cplver.F
+%%CS_HOME%%/src/cplv/cplym1.F
+%%CS_HOME%%/src/cplv/cppdf4.F
+%%CS_HOME%%/src/cplv/cppdf5.F
+%%CS_HOME%%/src/cplv/cppdfr.F
+%%CS_HOME%%/src/cplv/cpphy1.F
+%%CS_HOME%%/src/cplv/cpphy2.F
+%%CS_HOME%%/src/cplv/cpphyv.F
+%%CS_HOME%%/src/cplv/cpprop.F
+%%CS_HOME%%/src/cplv/cpptcl.F
+%%CS_HOME%%/src/cplv/cprays.F
+%%CS_HOME%%/src/cplv/cpteh1.F
+%%CS_HOME%%/src/cplv/cpteh2.F
+%%CS_HOME%%/src/cplv/cptehm.F
+%%CS_HOME%%/src/cplv/cpthp1.F
+%%CS_HOME%%/src/cplv/cpthp2.F
+%%CS_HOME%%/src/cplv/cptssc.F
+%%CS_HOME%%/src/cplv/cptsvc.F
+%%CS_HOME%%/src/cplv/cptsvi.F
+%%CS_HOME%%/src/cplv/cpvarp.F
+%%CS_HOME%%/src/cplv/cpveri.F
+%%CS_HOME%%/src/cplv/memcp1.F
+%%CS_HOME%%/src/elec/elflux.F
+%%CS_HOME%%/src/elec/elini1.F
+%%CS_HOME%%/src/elec/eliniv.F
+%%CS_HOME%%/src/elec/ellecd.F
+%%CS_HOME%%/src/elec/elphyv.F
+%%CS_HOME%%/src/elec/elprop.F
+%%CS_HOME%%/src/elec/elthht.F
+%%CS_HOME%%/src/elec/eltssc.F
+%%CS_HOME%%/src/elec/elvarp.F
+%%CS_HOME%%/src/elec/elveri.F
+%%CS_HOME%%/src/lagr/cs_lagr_perio.c
+%%CS_HOME%%/src/lagr/cs_lagrang.c
+%%CS_HOME%%/src/lagr/diverv.F
+%%CS_HOME%%/src/lagr/enslag.F
+%%CS_HOME%%/src/lagr/enswaf.F
+%%CS_HOME%%/src/lagr/lagaff.F
+%%CS_HOME%%/src/lagr/lagcar.F
+%%CS_HOME%%/src/lagr/lagcel.F
+%%CS_HOME%%/src/lagr/lagcou.F
+%%CS_HOME%%/src/lagr/lagdeb.F
+%%CS_HOME%%/src/lagr/lageli.F
+%%CS_HOME%%/src/lagr/lagent.F
+%%CS_HOME%%/src/lagr/lageqp.F
+%%CS_HOME%%/src/lagr/lagerr.F
+%%CS_HOME%%/src/lagr/lages1.F
+%%CS_HOME%%/src/lagr/lages2.F
+%%CS_HOME%%/src/lagr/lagesp.F
+%%CS_HOME%%/src/lagr/lagfch.F
+%%CS_HOME%%/src/lagr/laggra.F
+%%CS_HOME%%/src/lagr/laghis.F
+%%CS_HOME%%/src/lagr/lagich.F
+%%CS_HOME%%/src/lagr/lagidp.F
+%%CS_HOME%%/src/lagr/lagimp.F
+%%CS_HOME%%/src/lagr/lagini.F
+%%CS_HOME%%/src/lagr/lagipn.F
+%%CS_HOME%%/src/lagr/lagitf.F
+%%CS_HOME%%/src/lagr/lagitg.F
+%%CS_HOME%%/src/lagr/lagitp.F
+%%CS_HOME%%/src/lagr/laglec.F
+%%CS_HOME%%/src/lagr/laglis.F
+%%CS_HOME%%/src/lagr/lagnew.F
+%%CS_HOME%%/src/lagr/lagnpr.F
+%%CS_HOME%%/src/lagr/lagnwc.F
+%%CS_HOME%%/src/lagr/lagopt.F
+%%CS_HOME%%/src/lagr/lagout.F
+%%CS_HOME%%/src/lagr/lagphy.F
+%%CS_HOME%%/src/lagr/lagpoi.F
+%%CS_HOME%%/src/lagr/lagrus.F
+%%CS_HOME%%/src/lagr/lagsta.F
+%%CS_HOME%%/src/lagr/lagstf.F
+%%CS_HOME%%/src/lagr/lagtri.F
+%%CS_HOME%%/src/lagr/lagune.F
+%%CS_HOME%%/src/lagr/memla1.F
+%%CS_HOME%%/src/lagr/memla2.F
+%%CS_HOME%%/src/lagr/ouestu.F
+%%CS_HOME%%/src/mati/memmat.F
+%%CS_HOME%%/src/mati/mtimpi.F
+%%CS_HOME%%/src/mati/mtini1.F
+%%CS_HOME%%/src/mati/mtkpdc.F
+%%CS_HOME%%/src/mati/mtphyv.F
+%%CS_HOME%%/src/mati/mtproj.F
+%%CS_HOME%%/src/mati/mttsns.F
+%%CS_HOME%%/src/mati/mttssc.F
+%%CS_HOME%%/src/mati/mttycl.F
+%%CS_HOME%%/src/pprt/ppcabs.F
+%%CS_HOME%%/src/pprt/ppclim.F
+%%CS_HOME%%/src/pprt/ppcsca.F
+%%CS_HOME%%/src/pprt/ppini1.F
+%%CS_HOME%%/src/pprt/ppinii.F
+%%CS_HOME%%/src/pprt/ppiniv.F
+%%CS_HOME%%/src/pprt/pplecd.F
+%%CS_HOME%%/src/pprt/ppphyv.F
+%%CS_HOME%%/src/pprt/ppprcl.F
+%%CS_HOME%%/src/pprt/ppprop.F
+%%CS_HOME%%/src/pprt/ppray4.F
+%%CS_HOME%%/src/pprt/pptbht.F
+%%CS_HOME%%/src/pprt/pptssc.F
+%%CS_HOME%%/src/pprt/pptycl.F
+%%CS_HOME%%/src/pprt/ppvarp.F
+%%CS_HOME%%/src/rayt/memra1.F
+%%CS_HOME%%/src/rayt/memra2.F
+%%CS_HOME%%/src/rayt/memra3.F
+%%CS_HOME%%/src/rayt/raybrd.F
+%%CS_HOME%%/src/rayt/raycli.F
+%%CS_HOME%%/src/rayt/raydak.F
+%%CS_HOME%%/src/rayt/raydir.F
+%%CS_HOME%%/src/rayt/raydom.F
+%%CS_HOME%%/src/rayt/rayens.F
+%%CS_HOME%%/src/rayt/raylec.F
+%%CS_HOME%%/src/rayt/rayopt.F
+%%CS_HOME%%/src/rayt/rayout.F
+%%CS_HOME%%/src/rayt/raypar.F
+%%CS_HOME%%/src/rayt/raypun.F
+%%CS_HOME%%/src/rayt/raysca.F
+%%CS_HOME%%/src/rayt/raysol.F
+%%CS_HOME%%/src/rayt/rmodak.F
+%%CS_HOME%%/users/base/usalcl.F
+%%CS_HOME%%/users/base/usalin.F
+%%CS_HOME%%/users/base/usclim.F
+%%CS_HOME%%/users/base/usdpst.F
+%%CS_HOME%%/users/base/ushist.F
+%%CS_HOME%%/users/base/usini1.F
+%%CS_HOME%%/users/base/usiniv.F
+%%CS_HOME%%/users/base/uskpdc.F
+%%CS_HOME%%/users/base/usmodg.F
+%%CS_HOME%%/users/base/usmpst.F
+%%CS_HOME%%/users/base/usnpst.F
+%%CS_HOME%%/users/base/usphyv.F
+%%CS_HOME%%/users/base/usproj.F
+%%CS_HOME%%/users/base/uspt1d.F
+%%CS_HOME%%/users/base/usrubm.F
+%%CS_HOME%%/users/base/usruet.F
+%%CS_HOME%%/users/base/ussmag.F
+%%CS_HOME%%/users/base/usstru.F
+%%CS_HOME%%/users/base/usthht.F
+%%CS_HOME%%/users/base/ustske.F
+%%CS_HOME%%/users/base/ustskw.F
+%%CS_HOME%%/users/base/ustsma.F
+%%CS_HOME%%/users/base/ustsns.F
+%%CS_HOME%%/users/base/ustsri.F
+%%CS_HOME%%/users/base/ustssc.F
+%%CS_HOME%%/users/base/ustsv2.F
+%%CS_HOME%%/users/base/usvima.F
+%%CS_HOME%%/users/base/usvist.F
+%%CS_HOME%%/users/base/usvort.F
+%%CS_HOME%%/users/base/usvpst.F
+%%CS_HOME%%/users/cfbl/uscfcl.F
+%%CS_HOME%%/users/cfbl/uscfpv.F
+%%CS_HOME%%/users/cfbl/uscfth.F
+%%CS_HOME%%/users/cfbl/uscfx1.F
+%%CS_HOME%%/users/cfbl/uscfx2.F
+%%CS_HOME%%/users/cfbl/uscfxi.F
+%%CS_HOME%%/users/cogz/usd3p1.F
+%%CS_HOME%%/users/cogz/usd3pc.F
+%%CS_HOME%%/users/cogz/usd3pi.F
+%%CS_HOME%%/users/cogz/usebu1.F
+%%CS_HOME%%/users/cogz/usebuc.F
+%%CS_HOME%%/users/cogz/usebui.F
+%%CS_HOME%%/users/cogz/uslwc1.F
+%%CS_HOME%%/users/cogz/uslwcc.F
+%%CS_HOME%%/users/cogz/uslwci.F
+%%CS_HOME%%/users/cplv/uscpcl.F
+%%CS_HOME%%/users/cplv/uscpi1.F
+%%CS_HOME%%/users/cplv/uscpiv.F
+%%CS_HOME%%/users/cplv/uscpl1.F
+%%CS_HOME%%/users/cplv/uscplc.F
+%%CS_HOME%%/users/elec/uselcl.F
+%%CS_HOME%%/users/elec/uselen.F
+%%CS_HOME%%/users/elec/useli1.F
+%%CS_HOME%%/users/elec/useliv.F
+%%CS_HOME%%/users/elec/uselph.F
+%%CS_HOME%%/users/elec/uselrc.F
+%%CS_HOME%%/users/elec/usetcl.F
+%%CS_HOME%%/users/lagr/uslabo.F
+%%CS_HOME%%/users/lagr/usladp.F
+%%CS_HOME%%/users/lagr/uslaed.F
+%%CS_HOME%%/users/lagr/uslaen.F
+%%CS_HOME%%/users/lagr/uslafe.F
+%%CS_HOME%%/users/lagr/uslag1.F
+%%CS_HOME%%/users/lagr/uslag2.F
+%%CS_HOME%%/users/lagr/uslain.F
+%%CS_HOME%%/users/lagr/uslapr.F
+%%CS_HOME%%/users/lagr/uslaru.F
+%%CS_HOME%%/users/lagr/uslast.F
+%%CS_HOME%%/users/lagr/uslatc.F
+%%CS_HOME%%/users/lagr/uslatp.F
+%%CS_HOME%%/users/pprt/usppmo.F
+%%CS_HOME%%/users/rayt/usray1.F
+%%CS_HOME%%/users/rayt/usray2.F
+%%CS_HOME%%/users/rayt/usray3.F
+%%CS_HOME%%/users/rayt/usray4.F
+%%CS_HOME%%/users/rayt/usray5.F
+lib/libsaturneBASE.a
+lib/libsaturneCFBL.a
+lib/libsaturneCOGZ.a
+lib/libsaturneCPLV.a
+lib/libsaturneELEC.a
+lib/libsaturneLAGR.a
+lib/libsaturneMATI.a
+lib/libsaturneRAYT.a
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COMPATIBILITY
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/noyau.pdf
+%%PORTDOCS%%%%DOCSDIR%%/saturne.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%CS_HOME%%/users/rayt
+@dirrm %%CS_HOME%%/users/pprt
+@dirrm %%CS_HOME%%/users/lagr
+@dirrm %%CS_HOME%%/users/elec
+@dirrm %%CS_HOME%%/users/cplv
+@dirrm %%CS_HOME%%/users/cogz
+@dirrm %%CS_HOME%%/users/cfbl
+@dirrm %%CS_HOME%%/users/base
+@dirrm %%CS_HOME%%/users
+@dirrm %%CS_HOME%%/src/rayt
+@dirrm %%CS_HOME%%/src/pprt
+@dirrm %%CS_HOME%%/src/mati
+@dirrm %%CS_HOME%%/src/lagr
+@dirrm %%CS_HOME%%/src/elec
+@dirrm %%CS_HOME%%/src/cplv
+@dirrm %%CS_HOME%%/src/cogz
+@dirrm %%CS_HOME%%/src/cfbl
+@dirrm %%CS_HOME%%/src/base_2
+@dirrm %%CS_HOME%%/src/base_1
+@dirrm %%CS_HOME%%/src
+@dirrm %%CS_HOME%%/include/rayt
+@dirrm %%CS_HOME%%/include/pprt
+@dirrm %%CS_HOME%%/include/mati
+@dirrm %%CS_HOME%%/include/lagr
+@dirrm %%CS_HOME%%/include/elec
+@dirrm %%CS_HOME%%/include/cplv
+@dirrm %%CS_HOME%%/include/cogz
+@dirrm %%CS_HOME%%/include/cfbl
+@dirrm %%CS_HOME%%/include/base
+@dirrm %%CS_HOME%%/include
+%%PORTDOCS%%@dirrm %%CS_HOME%%/doc/UTILISATION
+%%PORTDOCS%%@dirrm %%CS_HOME%%/doc/NOYAU
+%%PORTDOCS%%@dirrm %%CS_HOME%%/doc
+@dirrm %%CS_HOME%%/data/thch
+@dirrm %%CS_HOME%%/data/mati
+@dirrm %%CS_HOME%%/data
+@dirrm %%CS_HOME%%/bin/Autovalidation
+@dirrm %%CS_HOME%%/bin
+@dirrm %%CS_HOME%%/arch/FreeBSD/lib
+@dirrm %%CS_HOME%%/arch/FreeBSD
+@dirrm %%CS_HOME%%/arch
+@dirrm %%CS_HOME%%
+@dirrm Saturne/Noyau
+@dirrm %%ECS_HOME%%/bin
+@dirrm %%ECS_HOME%%
+@dirrm Saturne/Enveloppe
+@dirrmtry Saturne