summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-10-03 01:49:26 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-10-03 01:49:26 +0000
commitf8d942935051193ada236652765bae571c97d436 (patch)
tree1244f8ed00a93269f3d6fdc57f11446ebcf36137 /sci-chemistry/molden
parentversion bump from overlay (diff)
downloadhistorical-f8d942935051193ada236652765bae571c97d436.tar.gz
historical-f8d942935051193ada236652765bae571c97d436.tar.bz2
historical-f8d942935051193ada236652765bae571c97d436.zip
Version bump (fixes bug #138642).
Package-Manager: portage-2.1.2_pre2
Diffstat (limited to 'sci-chemistry/molden')
-rw-r--r--sci-chemistry/molden/ChangeLog9
-rw-r--r--sci-chemistry/molden/Manifest28
-rw-r--r--sci-chemistry/molden/files/digest-molden-4.32
-rw-r--r--sci-chemistry/molden/files/digest-molden-4.43
-rw-r--r--sci-chemistry/molden/files/molden-4.4-gfortran-gentoo.patch12
-rw-r--r--sci-chemistry/molden/molden-4.4.ebuild59
6 files changed, 104 insertions, 9 deletions
diff --git a/sci-chemistry/molden/ChangeLog b/sci-chemistry/molden/ChangeLog
index 008a9e431051..e7b45c6ed485 100644
--- a/sci-chemistry/molden/ChangeLog
+++ b/sci-chemistry/molden/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/molden
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.17 2006/09/20 05:08:59 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.18 2006/10/03 01:49:26 markusle Exp $
+
+*molden-4.4 (03 Oct 2006)
+
+ 03 Oct 2006; Markus Dittrich <markusle@gentoo.org>
+ +files/molden-4.4-gfortran-gentoo.patch, +molden-4.4.ebuild:
+ Version bump (fixes bug #138642). Thanks to je_fro
+ <je_fro@yahoo.com> for his ebuild and patch.
20 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
(#148281) Change herd to sci-chemistry from sci.
diff --git a/sci-chemistry/molden/Manifest b/sci-chemistry/molden/Manifest
index 9c9a356d9e0e..95007277367b 100644
--- a/sci-chemistry/molden/Manifest
+++ b/sci-chemistry/molden/Manifest
@@ -2,19 +2,31 @@ AUX molden-3.9-fixMakefile.patch 1232 RMD160 1a15b87fe409129888c43c4f47a5e313a5e
MD5 a7a0b16c6ab47f386e92f719c1eb6966 files/molden-3.9-fixMakefile.patch 1232
RMD160 1a15b87fe409129888c43c4f47a5e313a5efbb11 files/molden-3.9-fixMakefile.patch 1232
SHA256 855230f4b0d53a54cef74296c4484bca561a41e7259282bffbb7cf9be8905865 files/molden-3.9-fixMakefile.patch 1232
-DIST molden4.3.tar.Z 3334599
+AUX molden-4.4-gfortran-gentoo.patch 552 RMD160 63f1f3fe98c04ab6572aa6ef7815057d59856356 SHA1 15fd8b2c3f719075bbf889b8267fe95ad13eba12 SHA256 835c39b4f1e29bde638ba32afdf6f2d4441fd46d6cb5d2f2527cf9b64245ad6f
+MD5 86f1b9c46db5267770e1fa086f3d87e3 files/molden-4.4-gfortran-gentoo.patch 552
+RMD160 63f1f3fe98c04ab6572aa6ef7815057d59856356 files/molden-4.4-gfortran-gentoo.patch 552
+SHA256 835c39b4f1e29bde638ba32afdf6f2d4441fd46d6cb5d2f2527cf9b64245ad6f files/molden-4.4-gfortran-gentoo.patch 552
+DIST molden4.3.tar.Z 3334599 RMD160 e487adce261b97df3b7477b48fb067042956cc79 SHA1 c654bcb5e0b175572b9b8272fc1a83edeedb8c58 SHA256 21535a2fe4d20123a170cb1e9903b89608acb2014dbf7aee4d143748a5c3381c
+DIST molden4.4.tar.Z 3556861 RMD160 bef1e9092d87323b1f9b2842b4beaadbd0c6a212 SHA1 905ddd8c130166b5bb7ef1445d1c06e2961b32c5 SHA256 0eadbe629485d408440586aed81f7761c354636a2a36ae996e1f21a2c59db23a
EBUILD molden-4.3.ebuild 1899 RMD160 1107e05915619fbc788361e10f912d17b65305d9 SHA1 7b41da0073eb2317f6af304e40d436c4c80f9bdb SHA256 c85778b53481283282665fc11d90136a52b23b22a6922d0d73fcc5e6e8a4c61a
MD5 1716b66f32f71a19497926c7c59b1114 molden-4.3.ebuild 1899
RMD160 1107e05915619fbc788361e10f912d17b65305d9 molden-4.3.ebuild 1899
SHA256 c85778b53481283282665fc11d90136a52b23b22a6922d0d73fcc5e6e8a4c61a molden-4.3.ebuild 1899
-MISC ChangeLog 4286 RMD160 eefeea70b1e7f933a38671f7f349b94d4ff8a1d0 SHA1 ed4cafc14064a032d62ae8a27884c540773282d9 SHA256 254bc77aab47dadf6102ea2e86150538ab162caa7a989a773e4c14c8a239bda3
-MD5 3704d7be0fb341b2fc416b2d448b9ef3 ChangeLog 4286
-RMD160 eefeea70b1e7f933a38671f7f349b94d4ff8a1d0 ChangeLog 4286
-SHA256 254bc77aab47dadf6102ea2e86150538ab162caa7a989a773e4c14c8a239bda3 ChangeLog 4286
+EBUILD molden-4.4.ebuild 1560 RMD160 53b5ba3bc2aff74fe4d1712411088a3beca29d8c SHA1 d50ced764b4ec044572144d52fa992dbcbe7e861 SHA256 0e01857b1da4f81ced7949b6e78d8d08feabf9432c0ab536ff0c13fcdc9cccf4
+MD5 36f292b015a356c0fed92c39ef41c8f6 molden-4.4.ebuild 1560
+RMD160 53b5ba3bc2aff74fe4d1712411088a3beca29d8c molden-4.4.ebuild 1560
+SHA256 0e01857b1da4f81ced7949b6e78d8d08feabf9432c0ab536ff0c13fcdc9cccf4 molden-4.4.ebuild 1560
+MISC ChangeLog 4530 RMD160 e14e034ac789b15f0caf23eaafb62cf5010a10bf SHA1 ea436ab05b6e69a0a062dab8871f17dfc713e5a4 SHA256 b83bc27adb225867d1d69f77fa92d44758f3742bbec2bf64f964d81b29f8008b
+MD5 b8ef577d7fde594e55a20ff7f19ed18e ChangeLog 4530
+RMD160 e14e034ac789b15f0caf23eaafb62cf5010a10bf ChangeLog 4530
+SHA256 b83bc27adb225867d1d69f77fa92d44758f3742bbec2bf64f964d81b29f8008b ChangeLog 4530
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
MD5 43628e9f5743b5c3b018a82669a76bc7 metadata.xml 166
RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 metadata.xml 166
SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852 metadata.xml 166
-MD5 1c17f79846de520b4d220d2d28d79521 files/digest-molden-4.3 61
-RMD160 a3cbcd4ee2ea3bc2db6f138e2e5a440903bdb4de files/digest-molden-4.3 61
-SHA256 e7fcf086688850051dc3eaa57b6685cd98cc1c0720ebf12197e804ed7fef5dc3 files/digest-molden-4.3 61
+MD5 c2051999ed0d60e24341e38193ac0af7 files/digest-molden-4.3 229
+RMD160 aff8698dcb88d0dee2da6dec423cb49f3844734a files/digest-molden-4.3 229
+SHA256 3abf729e16a4e9737cceb6ac05466b35848fa80c9194557ebd3fa50ce6e15204 files/digest-molden-4.3 229
+MD5 aef816312daa0f723518cd6705cafa1c files/digest-molden-4.4 229
+RMD160 66ac33e41ecbdf5387f929fcbdf15ebfdccc53ef files/digest-molden-4.4 229
+SHA256 4b31c4ca4762a7a557a7163fc28d02c224933414596a03f1daccffd2634e11ff files/digest-molden-4.4 229
diff --git a/sci-chemistry/molden/files/digest-molden-4.3 b/sci-chemistry/molden/files/digest-molden-4.3
index 227b171d48c7..26c438cd2164 100644
--- a/sci-chemistry/molden/files/digest-molden-4.3
+++ b/sci-chemistry/molden/files/digest-molden-4.3
@@ -1 +1,3 @@
MD5 12542915523bd24ea2177d07508685ca molden4.3.tar.Z 3334599
+RMD160 e487adce261b97df3b7477b48fb067042956cc79 molden4.3.tar.Z 3334599
+SHA256 21535a2fe4d20123a170cb1e9903b89608acb2014dbf7aee4d143748a5c3381c molden4.3.tar.Z 3334599
diff --git a/sci-chemistry/molden/files/digest-molden-4.4 b/sci-chemistry/molden/files/digest-molden-4.4
new file mode 100644
index 000000000000..8e2665cc63fa
--- /dev/null
+++ b/sci-chemistry/molden/files/digest-molden-4.4
@@ -0,0 +1,3 @@
+MD5 c50e5b4baf9cc453702fbc63649cfe44 molden4.4.tar.Z 3556861
+RMD160 bef1e9092d87323b1f9b2842b4beaadbd0c6a212 molden4.4.tar.Z 3556861
+SHA256 0eadbe629485d408440586aed81f7761c354636a2a36ae996e1f21a2c59db23a molden4.4.tar.Z 3556861
diff --git a/sci-chemistry/molden/files/molden-4.4-gfortran-gentoo.patch b/sci-chemistry/molden/files/molden-4.4-gfortran-gentoo.patch
new file mode 100644
index 000000000000..c5df6d545931
--- /dev/null
+++ b/sci-chemistry/molden/files/molden-4.4-gfortran-gentoo.patch
@@ -0,0 +1,12 @@
+diff -Naur molden4.4-old/molden.f molden4.4/molden.f
+--- molden4.4-old/molden.f 2006-07-10 07:46:06.000000000 -0400
++++ molden4.4/molden.f 2006-10-02 21:05:15.000000000 -0400
+@@ -255,7 +255,7 @@
+ common /vrmlhl/ spcdfil
+ common /pmflvl/ ipmfm,ipmfh,pmflev(mxpmfl),levcol(mxpmfl)
+ common /comsrf/ vo(3), rt(3),v1t(3),v2t(3),v3t(3)
+- external iargc
++c external iargc
+ dimension fcnt(mxcntr)
+ character title*80, keywrd*160, keyhlp*80, keyori*160
+ character tmpstr*80,movfil*80,vrmlfil*80,povfil*80,oglfil*80
diff --git a/sci-chemistry/molden/molden-4.4.ebuild b/sci-chemistry/molden/molden-4.4.ebuild
new file mode 100644
index 000000000000..62e5b2b9ffb4
--- /dev/null
+++ b/sci-chemistry/molden/molden-4.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.4.ebuild,v 1.1 2006/10/03 01:49:26 markusle Exp $
+
+inherit eutils toolchain-funcs flag-o-matic fortran
+
+MY_P="${PN}${PV}"
+DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac."
+HOMEPAGE="http://www.cmbi.kun.nl/~schaft/molden/molden.html"
+SRC_URI="ftp://ftp.cmbi.kun.nl/pub/molgraph/${PN}/${MY_P}.tar.Z"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~x86"
+IUSE="opengl"
+
+RDEPEND="opengl? ( virtual/glut
+ virtual/opengl )
+ || ( x11-libs/libXmu virtual/x11 )"
+DEPEND="${RDEPEND}
+ virtual/libc"
+
+S="${WORKDIR}/${MY_P}"
+
+FORTRAN="g77 gfortran"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gfortran-gentoo.patch
+}
+
+src_compile() {
+ # Use -mieee on alpha, according to the Makefile
+ use alpha && append-flags -mieee
+
+ # Honor CC, CFLAGS, FC, and FFLAGS from environment;
+ # unfortunately a bash bug prevents us from doing typeset and
+ # assignment on the same line.
+ typeset -a args
+ args=( CC="$(tc-getCC) ${CFLAGS}" \
+ FC="${FORTRANC}" LDR="${FORTRANC}" FFLAGS="${FFLAGS}" )
+
+ einfo "Building Molden..."
+ emake -j1 "${args[@]}" || die "molden emake failed"
+ if use opengl ; then
+ einfo "Building Molden OpenGL helper..."
+ emake -j1 "${args[@]}" moldenogl || die "moldenogl emake failed"
+ fi
+}
+
+src_install() {
+ dobin molden
+ use opengl && dobin moldenogl
+ dodoc HISTORY README REGISTER
+ cd doc
+ uncompress *
+ dodoc *
+}