diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-04-19 10:19:45 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-04-19 10:19:45 +0000 |
commit | 164d4c48d0b480012df5d176f2fd46505c94b28d (patch) | |
tree | dc8743ae92ff605d324e89065d4d2bed4d068b6c /app-sci/ghemical | |
parent | Removed S, added IUSE. (Manifest recommit) (diff) | |
download | gentoo-2-164d4c48d0b480012df5d176f2fd46505c94b28d.tar.gz gentoo-2-164d4c48d0b480012df5d176f2fd46505c94b28d.tar.bz2 gentoo-2-164d4c48d0b480012df5d176f2fd46505c94b28d.zip |
Added IUSE, moved to sed -i
Diffstat (limited to 'app-sci/ghemical')
-rw-r--r-- | app-sci/ghemical/ChangeLog | 8 | ||||
-rw-r--r-- | app-sci/ghemical/files/digest-ghemical-0.90 | 1 | ||||
-rw-r--r-- | app-sci/ghemical/files/ghemical-0.90-gentoo.patch | 31 | ||||
-rw-r--r-- | app-sci/ghemical/ghemical-0.90.ebuild | 30 | ||||
-rw-r--r-- | app-sci/ghemical/ghemical-1.00.ebuild | 8 |
5 files changed, 10 insertions, 68 deletions
diff --git a/app-sci/ghemical/ChangeLog b/app-sci/ghemical/ChangeLog index 30001dcc643c..bf3765bb2658 100644 --- a/app-sci/ghemical/ChangeLog +++ b/app-sci/ghemical/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-sci/ghemical -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ChangeLog,v 1.10 2003/07/02 12:33:39 aliz Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ChangeLog,v 1.11 2004/04/19 10:19:45 phosphan Exp $ + + 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> ghemical-0.90.ebuild, + ghemical-1.00.ebuild, files/ghemical-0.90-gentoo.patch: + Added IUSE, moved to sed -i *ghemical-1.00 (13 Feb 2003) diff --git a/app-sci/ghemical/files/digest-ghemical-0.90 b/app-sci/ghemical/files/digest-ghemical-0.90 deleted file mode 100644 index 53234c17d9a4..000000000000 --- a/app-sci/ghemical/files/digest-ghemical-0.90 +++ /dev/null @@ -1 +0,0 @@ -MD5 a469e583af31c89146397f81aa88289c ghemical-0.90.tgz 2087887 diff --git a/app-sci/ghemical/files/ghemical-0.90-gentoo.patch b/app-sci/ghemical/files/ghemical-0.90-gentoo.patch deleted file mode 100644 index 601ec7cabcc9..000000000000 --- a/app-sci/ghemical/files/ghemical-0.90-gentoo.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- openbabel/c3d.cpp.org 2002-06-19 23:18:59.000000000 +0200 -+++ openbabel/c3d.cpp 2002-10-27 18:47:04.000000000 +0100 -@@ -150,7 +150,7 @@ - } - - if (!natoms) return(false); -- divisor = pow(10.0,exponent); -+ divisor = pow((float)10.0,(float)exponent); - mol.ReserveAtoms(natoms); - - ttab.SetToType("INT"); ---- src/graphics/views.cpp.org 2002-06-20 13:27:04.000000000 +0200 -+++ src/graphics/views.cpp 2002-10-27 19:57:12.000000000 +0100 -@@ -486,7 +486,7 @@ - - glInitNames(); - -- i32s zzz = (i32s) sqrt(dv.size()); // support square datasets only!!! -+ i32s zzz = (i32s) sqrt((double)dv.size()); // support square datasets only!!! - for (i32s n1 = 0;n1 < zzz - 1;n1++) - { - for (i32s n2 = 0;n2 < zzz - 1;n2++) -@@ -542,7 +542,7 @@ - if (sy < 0.0) return; - if (sy > 1.0) return; - -- i32s zzz = (i32s) sqrt(dv.size()); // support square datasets only!!! -+ i32s zzz = (i32s) sqrt((double)dv.size()); // support square datasets only!!! - i32s index = (i32s) (((i32s) (sx * zzz)) * zzz + sy * zzz); - if (index >= (i32s) dv.size()) return; - diff --git a/app-sci/ghemical/ghemical-0.90.ebuild b/app-sci/ghemical/ghemical-0.90.ebuild deleted file mode 100644 index 0c7c6bdf3f98..000000000000 --- a/app-sci/ghemical/ghemical-0.90.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ghemical-0.90.ebuild,v 1.6 2003/08/05 18:33:25 vapier Exp $ - -inherit eutils - -DESCRIPTION="Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models and molecular mechanics models (there is an experimental Tripos 5.2-like force field for organic molecules). Also a tool for reduced protein models is included. Geometry optimization, molecular dynamics and a large set of visualization tools are currently available." -HOMEPAGE="http://www.uku.fi/~thassine/ghemical/" -SRC_URI="http://www.uku.fi/~thassine/ghemical/download/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -DEPEND="gnome-base/gnome-libs - dev-libs/libf2c - x11-libs/gtkglext - app-sci/mpqc" - -src_compile() { - epatch ${FILESDIR}/${P}-gentoo.patch - ./configure --prefix=/usr --enable-mpqc - emake -} - -src_install() { - sed -e "s:^prefix=.*:prefix=${D}/usr:" Makefile > Makefile.foo - mv Makefile.foo Makefile - make install -} diff --git a/app-sci/ghemical/ghemical-1.00.ebuild b/app-sci/ghemical/ghemical-1.00.ebuild index bb596a4c4050..6a211d4e9c56 100644 --- a/app-sci/ghemical/ghemical-1.00.ebuild +++ b/app-sci/ghemical/ghemical-1.00.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ghemical-1.00.ebuild,v 1.9 2003/08/05 18:33:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ghemical-1.00.ebuild,v 1.10 2004/04/19 10:19:45 phosphan Exp $ DESCRIPTION="Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models and molecular mechanics models (there is an experimental Tripos 5.2-like force field for organic molecules). Also a tool for reduced protein models is included. Geometry optimization, molecular dynamics and a large set of visualization tools are currently available." HOMEPAGE="http://www.uku.fi/~thassine/ghemical/" @@ -9,6 +9,7 @@ SRC_URI="http://www.uku.fi/~thassine/ghemical/download/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" +IUSE="" DEPEND="gnome-base/gnome-libs dev-libs/libf2c @@ -24,7 +25,6 @@ src_compile() { } src_install() { - sed -e "s:^prefix=.*:prefix=${D}/usr:" Makefile > Makefile.foo - mv Makefile.foo Makefile + sed -e "s:^prefix=.*:prefix=${D}/usr:" -i Makefile make install||die } |