aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cera <tcera@wanderer2.(none)>2009-09-15 23:48:42 -0400
committerTim Cera <tcera@wanderer2.(none)>2009-09-15 23:48:42 -0400
commit120e1d383a30c139fb746f9c5e19853e1e0fd2a9 (patch)
treee9dd29b99cf285dbcc89faa7d45a67ead82bf014 /sci-visualization
parentcoot working test revision to log added (diff)
downloadsci-120e1d383a30c139fb746f9c5e19853e1e0fd2a9.tar.gz
sci-120e1d383a30c139fb746f9c5e19853e1e0fd2a9.tar.bz2
sci-120e1d383a30c139fb746f9c5e19853e1e0fd2a9.zip
sci-visualization/ferret-bin-6.2: Version bump plus much simpler because
upstream generously changed download names. Fixed some environment variables that didn't work in files/99ferret.
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/ferret-bin/ChangeLog8
-rw-r--r--sci-visualization/ferret-bin/Manifest5
-rw-r--r--sci-visualization/ferret-bin/ferret-bin-6.2.ebuild64
-rw-r--r--sci-visualization/ferret-bin/files/99ferret18
4 files changed, 85 insertions, 10 deletions
diff --git a/sci-visualization/ferret-bin/ChangeLog b/sci-visualization/ferret-bin/ChangeLog
index b4584ec3a..c812a7919 100644
--- a/sci-visualization/ferret-bin/ChangeLog
+++ b/sci-visualization/ferret-bin/ChangeLog
@@ -2,6 +2,14 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*ferret-bin-6.2 (16 Sep 2009)
+
+ 16 Sep 2009; Tim Cera <timcera@earthlink.net> files/99ferret,
+ +ferret-bin-6.2.ebuild:
+ Version bump to 6.2. Requested upstream to change download names and
+ they did it! Makes version 6.2 much simpler. Changed the 99ferret
+ environment file to actually work.
+
17 Jun 2009; Tim Cera <timcera@earthlink.net> ferret-bin-6.1.ebuild:
Fixed RDEPEND.
diff --git a/sci-visualization/ferret-bin/Manifest b/sci-visualization/ferret-bin/Manifest
index 2f625134e..c838d5f6f 100644
--- a/sci-visualization/ferret-bin/Manifest
+++ b/sci-visualization/ferret-bin/Manifest
@@ -1,9 +1,12 @@
-AUX 99ferret 542 RMD160 b9ce8f1102fea4966df63f096e9996c7f5b60164 SHA1 bc328c5db0572d48adbadf082607440cc41a9292 SHA256 72414dba90d758f460e8f273ff7b60d31b4bcb240a48e4ae57501f273737090f
+AUX 99ferret 635 RMD160 bfa4ed3209b39803d04b6e875f18477a6c5a33ed SHA1 7475b300aea68c3372811a1d1f8e43bd971db7a4 SHA256 5bba5c50d06399720e8030efa5f4db344928d8fc855f20b0b7db25b78e66c38b
DIST fer_dsets.tar.gz 39991296 RMD160 dc3c8c67d86bcddad6bf1d984b524e1121ea5286 SHA1 4e0f514b7ae1441597e0f06fd06eda5797025ce6 SHA256 094645b275520321940002d286e792877a4867e2576832e246ab3d3f113425f3
+DIST fer_environment.v62.tar.gz 7833080 RMD160 92b71efc6ce4b820d6a54e21274e8462c69eb2fa SHA1 06f1a660f0c93c946d55922f831bf2a28ca50f5b SHA256 1844d0f13f3d3a53d110a3d12f72b707e33837cab02906512f4913560774a6ed
DIST fer_environment_x86.61.tar.Z 10514543 RMD160 47505dac54b16e75ae5610931193168f183102dd SHA1 19c31f210fd88d61b1f5c0989a117fd7443657a1 SHA256 e2050eca0b903df58f07319651aae1e3e9d5fc3cb8d21bdd91ea228b0e55bc8b
DIST fer_environment_x86_64.61.tar.Z 10511779 RMD160 870059554f90a0b60128ff605cab8f12ff250366 SHA1 ee9d696100fd72429fa90496f0a4c597b5663ac8 SHA256 c28b337628e8d33f6e8dd79de6960797594df8c9f8272cfaa50569a5ca178999
+DIST fer_executables.v62.tar.gz 5819789 RMD160 049eb3e3e8530a5638d2c45294225373fbb68344 SHA1 ed1181dde5255b29f6570a6634b08258d5b6352b SHA256 66ab638dc8ebad905c5a7fccba9bd5b4cf21380c0c81108ea24a54c77ba8c6d7
DIST fer_executables_x86.61.tar.Z 9310457 RMD160 13eff5eded02582abe8958793b2d753b556e08de SHA1 fcaed69892cd3f934684c969d0808f5c62c837c0 SHA256 dde20aa1164f12a22be67aaafd521653f40bbec62871e6ff176ae5233cc92b66
DIST fer_executables_x86_64.61.tar.Z 9077769 RMD160 cbc6b8737da64611aeda11db113fd580492ed16b SHA1 d2815fbda1b3efc7fef25e89183eebec3f312203 SHA256 bcb1e9d523bcf8009718954c18a77e94e440c3f664a9dc11fb90aa64aeb74ff5
EBUILD ferret-bin-6.1.ebuild 1626 RMD160 dda17227198aac344e4db5196565262715afb1b7 SHA1 a5714a26a2fc86efa691a55063cfe3a4ce5b3442 SHA256 00d4ebc26953728a3781e840aaf4f53fbe32489a5798282456ca6684ea86f0d5
+EBUILD ferret-bin-6.2.ebuild 1299 RMD160 affb667d0b88e126db48fc9f5789b2925cf8b885 SHA1 4f73923ec77f1cb859373248d9df3586d821ab02 SHA256 070788bc2c89d56f3d0c50d189af615f8c46db86857954c487a18bb81b19c92c
MISC ChangeLog 374 RMD160 9c2ef8c105fc125585fa65b444128c3dc8bb3144 SHA1 e46a3f84730ac10a3a1c5ca9efbc58cbbf631732 SHA256 ca4fd60e497c52c4dfdbcb4f06030b1f91a76b82723328f6db5e663d8e816cc9
MISC metadata.xml 362 RMD160 81d21aa9fb0e54a53c2db8ea0965a59a633417fa SHA1 8e0c5a42c19d225c6b0087173dfd3498fb6098ad SHA256 114c2d067f3f6e4e809739707c042f4a2959895fe4f8dfdd86f52857d6e4532a
diff --git a/sci-visualization/ferret-bin/ferret-bin-6.2.ebuild b/sci-visualization/ferret-bin/ferret-bin-6.2.ebuild
new file mode 100644
index 000000000..e87c28215
--- /dev/null
+++ b/sci-visualization/ferret-bin/ferret-bin-6.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2009 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
+ 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} )
+ 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} )"
+
+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
+}
+
diff --git a/sci-visualization/ferret-bin/files/99ferret b/sci-visualization/ferret-bin/files/99ferret
index e83bf7598..9dcf99cb1 100644
--- a/sci-visualization/ferret-bin/files/99ferret
+++ b/sci-visualization/ferret-bin/files/99ferret
@@ -1,15 +1,15 @@
-FER_DIR=/opt/ferret-bin
-FER_DSETS=/opt/ferret-bin/data
-PATH=/opt/ferret-bin/bin
+
+# This is taken from the output of the Finstall command.
+FER_DIR="/opt/ferret-bin"
+FER_DSETS="/opt/ferret-bin/data"
+PATH="/opt/ferret-bin/bin"
FER_WEB_BROWSER="netscape -ncols 60"
FER_EXTERNAL_FUNCTIONS="/opt/ferret-bin/ext_func/libs"
-FER_GO=". /opt/ferret-bin/go /opt/ferret-bin/examples $FER_DIR/contrib"
-FER_DATA=". ${FER_DSETS}/data /opt/ferret-bin/go /opt/ferret-bin/examples /opt/ferret-bin/contrib"
-FER_DESCR=". ${FER_DSETS}/descr"
-FER_GRIDS=". ${FER_DSETS}/grids"
+FER_GO=". /opt/ferret-bin/go /opt/ferret-bin/examples /opt/ferret-bin/contrib"
+FER_DATA=". /opt/ferret-bin/data/data /opt/ferret-bin/go /opt/ferret-bin/examples /opt/ferret-bin/contrib"
+FER_DESCR=". /opt/ferret-bin/data/descr"
+FER_GRIDS=". /opt/ferret-bin/data/grids"
TMAP="/opt/ferret-bin/fmt"
PLOTFONTS="/opt/ferret-bin/ppl/fonts"
SPECTRA="/opt/ferret-bin/ppl"
FER_PALETTE=". /opt/ferret-bin/ppl"
-
-