diff options
author | Tim Cera <tcera@wanderer2.chainedlion> | 2010-01-26 19:16:22 -0500 |
---|---|---|
committer | Tim Cera <tcera@wanderer2.chainedlion> | 2010-01-26 19:16:22 -0500 |
commit | f78e8e6472100b6473b1653bbc71b59fbc569c56 (patch) | |
tree | 0f7e578211adcce554afe83e20cf5668687d8d9d /sci-visualization/ferret-bin/ferret-bin-6.4.ebuild | |
parent | Added ffnet (diff) | |
download | sci-f78e8e6472100b6473b1653bbc71b59fbc569c56.tar.gz sci-f78e8e6472100b6473b1653bbc71b59fbc569c56.tar.bz2 sci-f78e8e6472100b6473b1653bbc71b59fbc569c56.zip |
sci-visualization/ferret-bin: Version bump.
(Portage version: 2.1.6.13/git/Linux x86_64)
(Unsigned Manifest commit)
Diffstat (limited to 'sci-visualization/ferret-bin/ferret-bin-6.4.ebuild')
-rw-r--r-- | sci-visualization/ferret-bin/ferret-bin-6.4.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild b/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild new file mode 100644 index 000000000..b9d1bf79e --- /dev/null +++ b/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PV=${PV/\./} + +MY_FER_ENV="fer_environment.v${MY_PV}.tar.gz" +MY_FER_EXE="fer_executables.v${MY_PV}.tar.gz" + +DESCRIPTION="Ferret is an interactive computer visualization and analysis environment" +HOMEPAGE="http://ferret.pmel.noaa.gov/Ferret/" +SRC_URI="ftp://ftp.pmel.noaa.gov/ferret/pub/data/fer_dsets.tar.gz + x86? ( ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_ENV} + ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_EXE} ) + amd64? ( ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_ENV} + ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_EXE} )" + +LICENSE="PMEL-FERRET" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=app-crypt/mit-krb5-1.6.3-r6 + x11-base/xorg-server + ~virtual/libstdc++-3.3" + +BASEDIR="/opt/ferret-bin" + + +src_unpack() { + mkdir "${S}" + cd "${S}" + unpack "${MY_FER_ENV}" + cd "${S}"/bin + unpack "${MY_FER_EXE}" + cd "${S}" + mkdir data + cd data + unpack "fer_dsets.tar.gz" +} + + +src_install() { + mkdir -p ext_func/libs + mv bin/*.so ext_func/libs + + mkdir -p "${D}/${BASEDIR}" + mv "${S}"/* "${D}/${BASEDIR}" + + doenvd "${FILESDIR}"/99ferret +} + + +pkg_postinst() { + env-update +} + + +pkg_postrm() { + env-update +} + |