summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-04-08 11:31:39 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-04-08 11:31:39 +0000
commit18aab48cb76866f91a6adf462ddc2291f84b1a5d (patch)
tree948da52290f9888fb509baf9558a75e54ec8e6eb /sci-chemistry
parentstable amd64 (diff)
downloadgentoo-2-18aab48cb76866f91a6adf462ddc2291f84b1a5d.tar.gz
gentoo-2-18aab48cb76866f91a6adf462ddc2291f84b1a5d.tar.bz2
gentoo-2-18aab48cb76866f91a6adf462ddc2291f84b1a5d.zip
Version bump. This fixes bug #128651.
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/chemtool/ChangeLog6
-rw-r--r--sci-chemistry/chemtool/Manifest16
-rw-r--r--sci-chemistry/chemtool/chemtool-1.6.9.ebuild68
-rw-r--r--sci-chemistry/chemtool/files/digest-chemtool-1.6.93
4 files changed, 91 insertions, 2 deletions
diff --git a/sci-chemistry/chemtool/ChangeLog b/sci-chemistry/chemtool/ChangeLog
index e986a0b92121..de18b17f6d94 100644
--- a/sci-chemistry/chemtool/ChangeLog
+++ b/sci-chemistry/chemtool/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/chemtool
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.10 2006/04/02 17:07:48 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.11 2006/04/08 11:31:39 markusle Exp $
+
+ 08 Apr 2006; Markus Dittrich <markusle@gentoo.org> ChangeLog:
+ Version bump. Thanks to boozo <gagnmat@yahoo.fr> for his ebuild.
+ This fixes bug #128651.
02 Apr 2006; Olivier Fisette <ribosome@gentoo.org> -chemtool-1.6.3.ebuild,
-chemtool-1.6.4.ebuild, -chemtool-1.6.6.ebuild, -chemtool-1.6.7.ebuild:
diff --git a/sci-chemistry/chemtool/Manifest b/sci-chemistry/chemtool/Manifest
index 2fc9e2b8e136..64bcf7ac7003 100644
--- a/sci-chemistry/chemtool/Manifest
+++ b/sci-chemistry/chemtool/Manifest
@@ -1,4 +1,18 @@
-MD5 17de82200bbbe4fa745f9ce50a689a21 ChangeLog 3972
+MD5 811e295bbbb4d78a18cf0b35292cd362 ChangeLog 4130
+RMD160 3d4bb4bb2413ba94c154bb74a8dd4f89c541ccdc ChangeLog 4130
+SHA256 69f05325bd21c7468551ffac3b3176088aa600abc7c0d5fe39645dd46aed23c7 ChangeLog 4130
MD5 822327c41b14044e85e5d28a5d46ba53 chemtool-1.6.7-r1.ebuild 1842
+RMD160 b648f85ba9b4d8ac251707ba6c62a2974cbaad3e chemtool-1.6.7-r1.ebuild 1842
+SHA256 963935fd998612bbf9b26361bb1fda72e131baac2dde3c6ab31150f30e174d4b chemtool-1.6.7-r1.ebuild 1842
+MD5 e77c43204791db58df3a6cf2eadb13a8 chemtool-1.6.9.ebuild 1843
+RMD160 d8e625db09c2b49b5ac4c147a58b1ac6339f753f chemtool-1.6.9.ebuild 1843
+SHA256 fdedcfa14f1628de5ed61903bb695c92ec5076fbfa8d8c914f955f9d9f0f2cac chemtool-1.6.9.ebuild 1843
MD5 27dfa5500bf82b518c1ea34ae01c73ee files/digest-chemtool-1.6.7-r1 66
+RMD160 93e302ce9ff961c5f736ba3c99b52e037a568e8b files/digest-chemtool-1.6.7-r1 66
+SHA256 7512af23329dd14888dd2d5c26975a686534a0cfd0819c35c73562ad95c63bf5 files/digest-chemtool-1.6.7-r1 66
+MD5 075095ee16bb9b7eb6b42fd3951d4cc1 files/digest-chemtool-1.6.9 244
+RMD160 1174eacda0ec031d30ef8d182dabb95c05a042e3 files/digest-chemtool-1.6.9 244
+SHA256 c2128857dbd6009fd89a12add147d9108707e619c1cc2b317d6cf4bb6611e9d9 files/digest-chemtool-1.6.9 244
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
diff --git a/sci-chemistry/chemtool/chemtool-1.6.9.ebuild b/sci-chemistry/chemtool/chemtool-1.6.9.ebuild
new file mode 100644
index 000000000000..26bf4babb756
--- /dev/null
+++ b/sci-chemistry/chemtool/chemtool-1.6.9.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.9.ebuild,v 1.1 2006/04/08 11:31:39 markusle Exp $
+
+inherit eutils kde-functions
+
+DESCRIPTION="program for drawing organic molecules"
+HOMEPAGE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
+SRC_URI="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="gnome kde nls"
+
+DEPEND=">=media-gfx/transfig-3.2.3d
+ =x11-libs/gtk+-2*
+ kde? ( kde-base/kdelibs )
+ x86? ( >=media-libs/libemf-1.0 )"
+
+src_compile() {
+ local config_opts
+ local mycppflags
+ if ! use kde; then
+ unset KDEDIR
+ config_opts="${config_opts} --without-kdedir"
+ else
+ set-kdedir
+ config_opts="${config_opts} --with-kdedir=${KDEDIR}"
+ fi
+ if [ ${ARCH} = "x86" ]; then
+ config_opts="${config_opts} --enable-emf"
+ mycppflags="${mycppflags} -I /usr/include/libEMF"
+ fi
+
+ sed -e "s:\(^CPPFLAGS.*\):\1 ${mycppflags}:" -i Makefile.in || \
+ die "could not append cppflags"
+
+ if use gnome ; then
+ config_opts="${config_opts} --with-gnomedir=/usr" ;
+ else
+ config_opts="${config_opts} --without-gnomedir" ;
+ fi
+
+ econf ${config_opts} \
+ || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ local sharedirs="applnk/Graphics mimelnk/application icons/hicolor/32x32/mimetypes"
+ for dir in ${sharedirs}; do
+ dodir ${mykdedir}/share/${dir}
+ done
+ dodir /usr/share/mime-types
+ dodir /usr/share/pixmaps/mc
+
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use gnome; then
+ rm -rf ${D}/usr/share/pixmaps ${D}/usr/share/mime-types
+ fi
+
+ dodoc ChangeLog INSTALL README TODO
+ insinto /usr/share/${PN}/examples
+ doins ${S}/examples/*
+ if ! use nls; then rm -rf ${D}/usr/share/locale; fi
+}
diff --git a/sci-chemistry/chemtool/files/digest-chemtool-1.6.9 b/sci-chemistry/chemtool/files/digest-chemtool-1.6.9
new file mode 100644
index 000000000000..5d40707f8c0c
--- /dev/null
+++ b/sci-chemistry/chemtool/files/digest-chemtool-1.6.9
@@ -0,0 +1,3 @@
+MD5 d13b16c019a9912cf0c3de07ca5bcd29 chemtool-1.6.9.tar.gz 430701
+RMD160 9c156f91ab17721461d524f82f59b5d49cb46f7a chemtool-1.6.9.tar.gz 430701
+SHA256 3a66286195e3e5a79000245c1c28eca6ef4deb0e19fe9c3b481bfbabb49a1a44 chemtool-1.6.9.tar.gz 430701