summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2005-08-08 10:25:01 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2005-08-08 10:25:01 +0000
commitdd564d51a9a5a7013f536b8a92db492e027d42cf (patch)
tree52623fa1c310a6c277dfa866ce07f98d86431186 /sci-chemistry/chemtool
parentStable on x86. (diff)
downloadhistorical-dd564d51a9a5a7013f536b8a92db492e027d42cf.tar.gz
historical-dd564d51a9a5a7013f536b8a92db492e027d42cf.tar.bz2
historical-dd564d51a9a5a7013f536b8a92db492e027d42cf.zip
Version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sci-chemistry/chemtool')
-rw-r--r--sci-chemistry/chemtool/ChangeLog8
-rw-r--r--sci-chemistry/chemtool/Manifest6
-rw-r--r--sci-chemistry/chemtool/chemtool-1.6.6.ebuild4
-rw-r--r--sci-chemistry/chemtool/chemtool-1.6.7.ebuild84
-rw-r--r--sci-chemistry/chemtool/files/digest-chemtool-1.6.71
5 files changed, 98 insertions, 5 deletions
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 <phosphan@gentoo.org> chemtool-1.6.6.ebuild,
+ +chemtool-1.6.7.ebuild:
+ Version bump
29 May 2005; Tobias Scherbaum <dertobi123@gentoo.org>
chemtool-1.6.6.ebuild:
diff --git a/sci-chemistry/chemtool/Manifest b/sci-chemistry/chemtool/Manifest
index a08d2adbb3ac..15becdfa1b18 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 14653e4e53f81b75f0ef19867fcb9f21 chemtool-1.6.7.ebuild 2078
MD5 9e2101d05a406781b0e7edbd09b89e15 chemtool-1.6.4.ebuild 2073
-MD5 3c3e23bbed41203f4c8e9f8c6ee149d2 chemtool-1.6.6.ebuild 2080
+MD5 cb6408b571b0cb6ccf650d2f900f9e35 chemtool-1.6.6.ebuild 2077
+MD5 4abb897373e92e0fe4854b9c241cb55e ChangeLog 3252
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