summaryrefslogtreecommitdiff
path: root/sci-libs/openfoam
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/openfoam')
-rw-r--r--sci-libs/openfoam/Manifest11
-rw-r--r--sci-libs/openfoam/metadata.xml16
-rw-r--r--sci-libs/openfoam/openfoam-2.2.1.ebuild108
-rw-r--r--sci-libs/openfoam/openfoam-2.2.2.ebuild108
-rw-r--r--sci-libs/openfoam/openfoam-2.3.0-r1.ebuild111
-rw-r--r--sci-libs/openfoam/openfoam-2.3.1-r1.ebuild111
-rw-r--r--sci-libs/openfoam/openfoam-2.4.0-r1.ebuild113
7 files changed, 0 insertions, 578 deletions
diff --git a/sci-libs/openfoam/Manifest b/sci-libs/openfoam/Manifest
deleted file mode 100644
index 84b9fca1a3b6..000000000000
--- a/sci-libs/openfoam/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-DIST OpenFOAM-2.2.1.tgz 37600247 BLAKE2B ba364c052e482379e7a280aa4d35260e276eab61a93668e1ca26ddcbf8228f67f7562cf90e6d9e659b5971b0b8f28455ef1a8420d901e911913c331c34edc739 SHA512 1b3afab700ca6e8b328ec76b5d862e67696ad6c622bc1d3a26c3cc87d6ad62f752be72cc0644510b63612fd1441e7a2969e3b53728d30f2a67a2453530fcd286
-DIST OpenFOAM-2.2.2.tgz 32536146 BLAKE2B e56a9fd2f85baeca478ea5ab663fe502ca20234da0fe379cf44fe2189813c0fb675e8a94ed1a4fae7972c9dfd0ad4e36da6eea1dc0b34d9771cdd881d931b0a9 SHA512 c57128b4a3fea0419118963a0e65dcecb532cb36713a03c3beef027e57f5a48c6839f35286eb9163cceb9e278bef6135bca7ca53990c2dbe4544fb26e82098d0
-DIST OpenFOAM-2.3.0.tgz 37339475 BLAKE2B b09369bbd76dd0555e8a89b108196e47fd7d410447e95991132f6f2d3ab59d0b8b22370d7bb2fab2425bd66dcce2f687fbf6b4c293dd3fd81103b931b0455c80 SHA512 314e4726c3814bf8efebee88be0113c3921be8daeb947ef325688911ff6dc265f144952adf77af1d274abff58c68331bc48f4e74ef7a632c98adbd87fe79355c
-DIST OpenFOAM-2.3.1.tgz 37660806 BLAKE2B 36a9034bd9e601303c6d141d1f236650ed890ba1a032f81cfa11073fbb5deece734691b0d64069c7e59af055d2336fc725beeec8f612242098b139dd6abeb1d7 SHA512 a55cb2c8ac66bbfff81249aab759e1178895597460544009129883ab775813bb028d4c294d1913fd644d9d2268d075d2fd151c1cd1aac69080555f99ce1c182e
-DIST OpenFOAM-2.4.0.tgz 41640005 BLAKE2B d8d3efb323966d0b1617a80711724e9a9f52372f7548bab6f6d41c6920f20fb25f2d0dbfdb82a5b7ce6604548fc61ef3f383f045c3b90ac7d5c3132f3933ca8f SHA512 1916191d810676145a88492e902840f5cbd839f3b221dcf55c5edc26791b395c1d36fd6ef37e4c1bc1f813357a3b22ce3ec3e1b802ac49157f76d25e6ca53cbe
-EBUILD openfoam-2.2.1.ebuild 2734 BLAKE2B efc312a7b6236fb8347a6c00485f024ede75179c95c36c3c99336a99e09b8630f26980f907269060508e1261a987f830f8495a9cc9803760d89d9fd51228809e SHA512 840b31b22793d5258e26118049a3c1277fcb22f37511bf71217b006af830fd8b360e09640e5026362e88fdc185d2531e86bb80fa1a0c539957d20707bc303234
-EBUILD openfoam-2.2.2.ebuild 2734 BLAKE2B efc312a7b6236fb8347a6c00485f024ede75179c95c36c3c99336a99e09b8630f26980f907269060508e1261a987f830f8495a9cc9803760d89d9fd51228809e SHA512 840b31b22793d5258e26118049a3c1277fcb22f37511bf71217b006af830fd8b360e09640e5026362e88fdc185d2531e86bb80fa1a0c539957d20707bc303234
-EBUILD openfoam-2.3.0-r1.ebuild 3066 BLAKE2B 83612e8ca96df1a4f36964ca8e6fda2f93821480a4a21c5e6c37f91237186c887cb6e0ed5bfd83ecc85a4f12410e368c446469cb33069ea78399290b2b517b12 SHA512 217104ca626b89af62e67046ce248e2434b8d25370759ee8e1415af87098d29dba250f73c62d3e4c97e746adb0cfe216b8733566ffcc8a13db00dd2d79bb6d72
-EBUILD openfoam-2.3.1-r1.ebuild 3064 BLAKE2B faa119a8ea8d1945683404623a3969da6d1c8a510e0e242a0e764ce14dd701eabf4fc082963f6ce78931f3632217f925264bc1e2caac472006f4e51dca12dddd SHA512 1d32199999c08c1172440df5a290f40ce82f2652622823604566e85ae69e066613400bafffa9f2bb450a5fcc8f6e8f81f14a3d7d76a1c25e58caacab43ea8ea7
-EBUILD openfoam-2.4.0-r1.ebuild 3152 BLAKE2B 359a89fe8ea196ee09467f4af9d225b34e80deb98ca96eff439738ab8f8c4075f2b0ce1bba180001f8c2b69979503235735730f1928e809c7a3cc577bc9703e2 SHA512 89a58093dabb8f17f6c03bf39069da82cb6c125ab12df67701393fcac419e53ff42950d3efa5685770954982bcf2e4d91889e19f22b10073bf48a2c89d4d9bf5
-MISC metadata.xml 538 BLAKE2B fc2c49df471cc63cd4e9096776373df0c15b81eca0c9b7e6779805f8274d088d474efef69d0d68bdea1a63989289074f42a24601d8336b22e7171cb495655e10 SHA512 f69a0c2437906775c05a2130e1e3e0b16f9038f80158f9334453ec15d14bfc0fcb2791ab68147a34c62bb1f17100d51c2f120e869075b6921e1d9edf5cb76fb8
diff --git a/sci-libs/openfoam/metadata.xml b/sci-libs/openfoam/metadata.xml
deleted file mode 100644
index 3bb70c9ae50b..000000000000
--- a/sci-libs/openfoam/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <use>
- <flag name="opendx"> Install opendx visualisation tool</flag>
- <flag name="src"> Install source files</flag>
- <flag name="paraview">Enable support for paraview library</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">downloads</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-libs/openfoam/openfoam-2.2.1.ebuild b/sci-libs/openfoam/openfoam-2.2.1.ebuild
deleted file mode 100644
index 711bb0042fcd..000000000000
--- a/sci-libs/openfoam/openfoam-2.2.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils versionator multilib toolchain-funcs multiprocessing
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.openfoam.org"
-SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="2.2"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples opendx src"
-
-RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-libs/parmetis
- sci-libs/parmgridgen
- sci-libs/scotch
- virtual/mpi
- opendx? ( sci-visualization/opendx )"
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 to compile."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- else
- die "You need one of the following mpi implementations: openmpi or mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
- sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
-}
-
-src_compile() {
- export WM_NCOMPPROCS=$(makeopts_jobs)
-
- export FOAM_INST_DIR=${WORKDIR}
- source etc/bashrc
-
- find wmake -name dirToString -exec rm -rf {} +
- find wmake -name wmkdep -exec rm -rf {}+
-
- if use doc ; then
- ./Allwmake doc || die "could not build"
- else
- ./Allwmake || die "could not build"
- fi
-}
-
-src_test() {
- cd bin
- ./foamInstallationTest
-}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- use src && doins -r src
-
- insopts -m0755
- doins -r bin applications platforms wmake
-
- dodoc README.html doc/Guides-a4/*.pdf
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}
diff --git a/sci-libs/openfoam/openfoam-2.2.2.ebuild b/sci-libs/openfoam/openfoam-2.2.2.ebuild
deleted file mode 100644
index 711bb0042fcd..000000000000
--- a/sci-libs/openfoam/openfoam-2.2.2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils versionator multilib toolchain-funcs multiprocessing
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.openfoam.org"
-SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="2.2"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples opendx src"
-
-RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-libs/parmetis
- sci-libs/parmgridgen
- sci-libs/scotch
- virtual/mpi
- opendx? ( sci-visualization/opendx )"
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 to compile."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- else
- die "You need one of the following mpi implementations: openmpi or mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
- sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
-}
-
-src_compile() {
- export WM_NCOMPPROCS=$(makeopts_jobs)
-
- export FOAM_INST_DIR=${WORKDIR}
- source etc/bashrc
-
- find wmake -name dirToString -exec rm -rf {} +
- find wmake -name wmkdep -exec rm -rf {}+
-
- if use doc ; then
- ./Allwmake doc || die "could not build"
- else
- ./Allwmake || die "could not build"
- fi
-}
-
-src_test() {
- cd bin
- ./foamInstallationTest
-}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- use src && doins -r src
-
- insopts -m0755
- doins -r bin applications platforms wmake
-
- dodoc README.html doc/Guides-a4/*.pdf
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}
diff --git a/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild b/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild
deleted file mode 100644
index 0935f6953805..000000000000
--- a/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils versionator multilib toolchain-funcs multiprocessing
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.openfoam.org"
-SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="2.3"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples opendx src"
-
-RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-libs/parmetis
- sci-libs/parmgridgen
- sci-libs/scotch
- virtual/mpi
- opendx? ( sci-visualization/opendx )"
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 to compile."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- else
- die "You need one of the following mpi implementations: openmpi or mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
- sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
-
- sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
- sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
-}
-
-src_compile() {
- export WM_NCOMPPROCS=$(makeopts_jobs)
-
- export FOAM_INST_DIR=${WORKDIR}
- source etc/bashrc
-
- find wmake -name dirToString -exec rm -rf {} +
- find wmake -name wmkdep -exec rm -rf {}+
-
- ./Allwmake || die "could not build"
- if use doc ; then
- doc/Allwmake || die "could not build"
- fi
-}
-
-# Doesn't do anything sane
-#src_test() {
-# cd bin
-# ./foamInstallationTest
-#}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- use src && doins -r src
-
- insopts -m0755
- doins -r bin applications platforms wmake
-
- dodoc README.html doc/Guides-a4/*.pdf
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}
diff --git a/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild b/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild
deleted file mode 100644
index 9ed9cb2b0907..000000000000
--- a/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils versionator multilib toolchain-funcs multiprocessing
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.openfoam.org"
-SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="2.3"
-KEYWORDS="amd64 x86"
-IUSE="doc examples opendx src"
-
-RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-libs/parmetis
- sci-libs/parmgridgen
- sci-libs/scotch
- virtual/mpi
- opendx? ( sci-visualization/opendx )"
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 to compile."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- else
- die "You need one of the following mpi implementations: openmpi or mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
- sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
-
- sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
- sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
-}
-
-src_compile() {
- export WM_NCOMPPROCS=$(makeopts_jobs)
-
- export FOAM_INST_DIR=${WORKDIR}
- source etc/bashrc
-
- find wmake -name dirToString -exec rm -rf {} +
- find wmake -name wmkdep -exec rm -rf {}+
-
- ./Allwmake || die "could not build"
- if use doc ; then
- doc/Allwmake || die "could not build"
- fi
-}
-
-# Doesn't do anything sane
-#src_test() {
-# cd bin
-# ./foamInstallationTest
-#}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- use src && doins -r src
-
- insopts -m0755
- doins -r bin applications platforms wmake
-
- dodoc README.html doc/Guides-a4/*.pdf
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}
diff --git a/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild b/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild
deleted file mode 100644
index 67bda192d50c..000000000000
--- a/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils versionator multilib toolchain-funcs multiprocessing
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.openfoam.org"
-SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="2.4"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples opendx src paraview"
-
-RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-mathematics/cgal
- sci-libs/parmetis
- sci-libs/parmgridgen
- sci-libs/scotch
- virtual/mpi
- opendx? ( sci-visualization/opendx )
- paraview? ( sci-visualization/paraview[development] )"
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 to compile."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- else
- die "You need one of the following mpi implementations: openmpi or mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
- sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
-
- sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
- sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
-}
-
-src_compile() {
- export WM_NCOMPPROCS=$(makeopts_jobs)
-
- export FOAM_INST_DIR=${WORKDIR}
- source etc/bashrc
-
- find wmake -name dirToString -exec rm -rf {} +
- find wmake -name wmkdep -exec rm -rf {}+
-
- ./Allwmake || die "could not build"
- if use doc ; then
- doc/Allwmake || die "could not build"
- fi
-}
-
-# Doesn't do anything sane
-#src_test() {
-# cd bin
-# ./foamInstallationTest
-#}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- use src && doins -r src
-
- insopts -m0755
- doins -r bin applications platforms wmake
-
- dodoc README.html doc/Guides-a4/*.pdf
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}