From 59433f961b4f7a1b81b3b425a67c4e8f25754076 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Mon, 8 Aug 2005 10:25:01 +0000 Subject: Version bump (Portage version: 2.0.51.22-r2) --- sci-chemistry/chemtool/ChangeLog | 8 ++- sci-chemistry/chemtool/Manifest | 6 +- sci-chemistry/chemtool/chemtool-1.6.6.ebuild | 4 +- sci-chemistry/chemtool/chemtool-1.6.7.ebuild | 84 ++++++++++++++++++++++ sci-chemistry/chemtool/files/digest-chemtool-1.6.7 | 1 + 5 files changed, 98 insertions(+), 5 deletions(-) create mode 100644 sci-chemistry/chemtool/chemtool-1.6.7.ebuild create mode 100644 sci-chemistry/chemtool/files/digest-chemtool-1.6.7 (limited to 'sci-chemistry') diff --git a/sci-chemistry/chemtool/ChangeLog b/sci-chemistry/chemtool/ChangeLog index 48a7739b08aa..604ab865d00b 100644 --- a/sci-chemistry/chemtool/ChangeLog +++ b/sci-chemistry/chemtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/chemtool # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.5 2005/05/29 14:57:50 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.6 2005/08/08 10:25:01 phosphan Exp $ + +*chemtool-1.6.7 (08 Aug 2005) + + 08 Aug 2005; Patrick Kursawe chemtool-1.6.6.ebuild, + +chemtool-1.6.7.ebuild: + Version bump 29 May 2005; Tobias Scherbaum chemtool-1.6.6.ebuild: diff --git a/sci-chemistry/chemtool/Manifest b/sci-chemistry/chemtool/Manifest index a08d2adbb3ac..217de87299cf 100644 --- a/sci-chemistry/chemtool/Manifest +++ b/sci-chemistry/chemtool/Manifest @@ -1,8 +1,10 @@ -MD5 5639baabfa968e655758dd34914aa746 ChangeLog 3105 MD5 372559212ea87a5bd27a53e6a03fa8ea chemtool-1.6.3.ebuild 1951 +MD5 3c3e23bbed41203f4c8e9f8c6ee149d2 chemtool-1.6.7.ebuild 2080 MD5 9e2101d05a406781b0e7edbd09b89e15 chemtool-1.6.4.ebuild 2073 -MD5 3c3e23bbed41203f4c8e9f8c6ee149d2 chemtool-1.6.6.ebuild 2080 +MD5 33aafdac2bdd2f209cfc05ab11514e56 chemtool-1.6.6.ebuild 2079 +MD5 5639baabfa968e655758dd34914aa746 ChangeLog 3105 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 4ae73ea952733fc1500a98a82b1b8f3d files/digest-chemtool-1.6.3 66 MD5 73e6d16f503d84f586445148c62e1a32 files/digest-chemtool-1.6.4 66 MD5 5f0baeb289dacc7ef250d44bf8e2fd16 files/digest-chemtool-1.6.6 66 +MD5 27dfa5500bf82b518c1ea34ae01c73ee files/digest-chemtool-1.6.7 66 diff --git a/sci-chemistry/chemtool/chemtool-1.6.6.ebuild b/sci-chemistry/chemtool/chemtool-1.6.6.ebuild index 8e486abc2e05..e34d4fabadec 100644 --- a/sci-chemistry/chemtool/chemtool-1.6.6.ebuild +++ b/sci-chemistry/chemtool/chemtool-1.6.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.6.ebuild,v 1.2 2005/05/29 14:57:50 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.6.ebuild,v 1.3 2005/08/08 10:25:01 phosphan Exp $ inherit eutils kde-functions @@ -10,7 +10,7 @@ SRC_URI="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" +KEYWORDS="x86 ~amd64 ~ppc" IUSE="gtk2 gnome kde nls" DEPEND=">=media-gfx/transfig-3.2.3d diff --git a/sci-chemistry/chemtool/chemtool-1.6.7.ebuild b/sci-chemistry/chemtool/chemtool-1.6.7.ebuild new file mode 100644 index 000000000000..05c4b788a1aa --- /dev/null +++ b/sci-chemistry/chemtool/chemtool-1.6.7.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.7.ebuild,v 1.1 2005/08/08 10:25:01 phosphan 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="gtk2 gnome kde nls" + +DEPEND=">=media-gfx/transfig-3.2.3d + || ( + gtk2? ( =x11-libs/gtk+-2* ) + =x11-libs/gtk+-1* + ) + x86? ( >=media-libs/libemf-1.0 )" + +src_compile() { + local config_opts + local mycppflags + local mykdedir + if [ -z "${KDEDIR}" ]; then + mykdedir="bogus_kde" + else + mykdedir="${KDEDIR}" + fi + if [ ${ARCH} = "x86" ]; then + config_opts="--enable-emf" + mycppflags="${mycppflags} -I /usr/include/libEMF" + fi + + if ! use gtk2; then + config_opts="${config_opts} --enable-gtk1" + fi + + sed -e "s:\(^CPPFLAGS.*\):\1 ${mycppflags}:" -i Makefile.in || \ + die "could not append cppflags" + + if use kde; then + config_opts="${config_opts} --with-kdedir=${mykdedir}" ; + fi + + 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 mykdedir="${KDEDIR}" + if [ -z "${mykdedir}" ]; then mykdedir="bogus_kde"; fi + 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 kde; then + rm -rf ${D}/${mykdedir} + fi + + 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.7 b/sci-chemistry/chemtool/files/digest-chemtool-1.6.7 new file mode 100644 index 000000000000..c6497a9e603f --- /dev/null +++ b/sci-chemistry/chemtool/files/digest-chemtool-1.6.7 @@ -0,0 +1 @@ +MD5 663cd50e7f2bc6b687454ef9c47b7a50 chemtool-1.6.7.tar.gz 427878 -- cgit v1.2.3-65-gdbad