summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2009-06-20 01:04:12 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2009-06-20 01:04:12 +0000
commit1d8ae6abaaede634e5f0aca21446a7c20636e5d9 (patch)
tree0ba00fef999d89c70975480ec6dcccafafe18ce1 /sci-chemistry
parentAutomated update of use.local.desc (diff)
downloadhistorical-1d8ae6abaaede634e5f0aca21446a7c20636e5d9.tar.gz
historical-1d8ae6abaaede634e5f0aca21446a7c20636e5d9.tar.bz2
historical-1d8ae6abaaede634e5f0aca21446a7c20636e5d9.zip
Latest version, thanks to lumbrius in bug #274199 and Reinis Danne for the science overlay ebuild.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/chemtool/ChangeLog10
-rw-r--r--sci-chemistry/chemtool/Manifest4
-rw-r--r--sci-chemistry/chemtool/chemtool-1.6.12.ebuild68
3 files changed, 79 insertions, 3 deletions
diff --git a/sci-chemistry/chemtool/ChangeLog b/sci-chemistry/chemtool/ChangeLog
index 3d8add5d21e5..eea7e37bd702 100644
--- a/sci-chemistry/chemtool/ChangeLog
+++ b/sci-chemistry/chemtool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/chemtool
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.24 2008/04/26 13:03:47 markusle Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.25 2009/06/20 01:04:12 je_fro Exp $
+
+*chemtool-1.6.12 (20 Jun 2009)
+
+ 20 Jun 2009; Jeff Gardner <je_fro@gentoo.org> +chemtool-1.6.12.ebuild:
+ Latest version, thanks to lumbrius in bug #274199 and Reinis Danne for the
+ science overlay ebuild.
*chemtool-1.6.11 (26 Apr 2008)
diff --git a/sci-chemistry/chemtool/Manifest b/sci-chemistry/chemtool/Manifest
index 1901e17aae95..c29431b1af6b 100644
--- a/sci-chemistry/chemtool/Manifest
+++ b/sci-chemistry/chemtool/Manifest
@@ -1,9 +1,11 @@
AUX chemtool-1.6.11-makefile.patch 453 RMD160 465f72d7b50b7df86a67f8a38961365946cb955b SHA1 13c85a240ed8e012925e55fab64419883fc89b59 SHA256 bc7358059bb83cdc7914d404d703e0866d19cf7f42d2b526db87a8a03ec4cc01
DIST chemtool-1.6.10.tar.gz 466296 RMD160 4ca9f6bb75a8211f31150e93267a323456905388 SHA1 1ed84de17a802d8cc64b72499f6c6e4577a9f2c9 SHA256 9a4ba27e1a187efd46314b724b42862381360a08fe3939fea1e91127f8e5c53c
DIST chemtool-1.6.11.tar.gz 720067 RMD160 46aa3fc5ff8929d5f2bfe8e14a62db965cf23f47 SHA1 f4c50264b1499bdac15854e4bffde1a9d85668b3 SHA256 3d57f14fa6be06a2fa7930f9ecf67fa7d29e059054151f57ea1a4aadc679f3f1
+DIST chemtool-1.6.12.tar.gz 733454 RMD160 b3501d4af20164e6ec3227970d6daf2950e5506c SHA1 23ab6555fcad2b85c3ecdde7ee4b62f1de1c7acc SHA256 24db06e47a3b2ab1c8882eb99961d788e0d7fa89d5fbd9b87a70352c88303408
DIST chemtool-1.6.9.tar.gz 430701 RMD160 9c156f91ab17721461d524f82f59b5d49cb46f7a SHA1 528f8603cd3965b89fb670e0fc7dc71ad3b7a147 SHA256 3a66286195e3e5a79000245c1c28eca6ef4deb0e19fe9c3b481bfbabb49a1a44
EBUILD chemtool-1.6.10.ebuild 1593 RMD160 2e473e591527822a9551ff54fa3c44fddd5bc364 SHA1 5d7dda921546509d2323a58d911d96392220fe96 SHA256 2fc28759465247ebdaab4b661eb46d9c88fb0aff5e171dcd22bb5802beddb86d
EBUILD chemtool-1.6.11.ebuild 1677 RMD160 aeeb0a7429cb52c78aa78438a8d8f71dd79de4d9 SHA1 c457c1a8270488c023ba529f07a54649b5c120ad SHA256 069d4a48232ac3d4a0d68a0cfbc207cc292a881166f36943258a381c67dc131d
+EBUILD chemtool-1.6.12.ebuild 1759 RMD160 cdc9b04e6e621fe3725c55ca21dd3f67b243d8a2 SHA1 ef9d2b14caa97eae18396436a64170f05e8c3530 SHA256 3cedc8100a70ba90cdaa12b2850d3e7f121e4ea5354f955d90cb12bb020bec38
EBUILD chemtool-1.6.9-r1.ebuild 1593 RMD160 17f94dd74b34dc624b22581e5898fc354bd0bf3f SHA1 618adba81e68887dd92ad948aa088ce40823fc79 SHA256 6bc2a67bd28d27a4fc941fbd4d8081ab18ef836491d4e18a7a8680acf953e973
-MISC ChangeLog 5775 RMD160 faf922c79840eec243d4c3446fb62f855509e50c SHA1 cd21a49d879fd2374c810cb7cad4086b774dfa62 SHA256 5d0a7dbff22606923c71a45d5e0a2ad62ea6c6d3695b7705feadf6bc46562703
+MISC ChangeLog 5982 RMD160 c23fde475ec7de5eb173edb8eae2ead0510bbad8 SHA1 ca0ca2d36a6dd207b69cdcbf24033012dffc026e SHA256 a9a803ab69e5b5341e5426a1eba358713eb7238833f5d864c2c422a2e5c25b39
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
diff --git a/sci-chemistry/chemtool/chemtool-1.6.12.ebuild b/sci-chemistry/chemtool/chemtool-1.6.12.ebuild
new file mode 100644
index 000000000000..f52edf3746b5
--- /dev/null
+++ b/sci-chemistry/chemtool/chemtool-1.6.12.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.12.ebuild,v 1.1 2009/06/20 01:04:12 je_fro Exp $
+
+inherit eutils kde-functions
+
+DESCRIPTION="A GTK 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"
+
+RDEPEND="media-gfx/transfig
+ =x11-libs/gtk+-2*
+ kde? ( =kde-base/kdelibs-3.5* )
+ x86? ( media-libs/libemf )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+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} --enable-menu \
+ || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog INSTALL README TODO
+ insinto /usr/share/${PN}/examples
+ doins "${S}"/examples/*
+ if ! use nls; then rm -rf "${D}"/usr/share/locale; fi
+
+ insinto /usr/share/pixmaps
+ doins chemtool.xpm
+ make_desktop_entry ${PN} Chemtool ${PN} "Education;Science;Chemistry"
+}