summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-05-24 08:05:19 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-05-24 08:05:19 +0000
commit01582556276a675aecb0e1c67a31b40a0c94edb5 (patch)
treed153c55618edd3916035868d6f0fc370b0624838 /app-sci
parentNew portage. (diff)
downloadhistorical-01582556276a675aecb0e1c67a31b40a0c94edb5.tar.gz
historical-01582556276a675aecb0e1c67a31b40a0c94edb5.tar.bz2
historical-01582556276a675aecb0e1c67a31b40a0c94edb5.zip
Version bump, see bug #51468
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/chemtool/ChangeLog7
-rw-r--r--app-sci/chemtool/Manifest4
-rw-r--r--app-sci/chemtool/chemtool-1.6.3.ebuild76
-rw-r--r--app-sci/chemtool/files/digest-chemtool-1.6.31
4 files changed, 86 insertions, 2 deletions
diff --git a/app-sci/chemtool/ChangeLog b/app-sci/chemtool/ChangeLog
index 95536e6c2140..2f9e2d34c4dd 100644
--- a/app-sci/chemtool/ChangeLog
+++ b/app-sci/chemtool/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/chemtool
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/chemtool/ChangeLog,v 1.10 2004/04/16 00:50:23 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chemtool/ChangeLog,v 1.11 2004/05/24 08:05:19 phosphan Exp $
+
+*chemtool-1.6.3 (24 May 2004)
+
+ 24 May 2004; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.3.ebuild:
+ Version bump, is supposed to work on amd64 aswell (see bug #51468)
15 Apr 2004; Caleb Tennis <caleb@gentoo.org>
-files/Makefile.in-chemtool-1.5-gentoo.diff,
diff --git a/app-sci/chemtool/Manifest b/app-sci/chemtool/Manifest
index 1b6a8e3fff67..8c841d54f7eb 100644
--- a/app-sci/chemtool/Manifest
+++ b/app-sci/chemtool/Manifest
@@ -1,5 +1,7 @@
-MD5 7abce5aff54fa78f2b7d434de55365c8 ChangeLog 1947
+MD5 1ecd5ab9472431754893682e581c98db chemtool-1.6.3.ebuild 2027
+MD5 2f98df8703717b50aa62d2ff06626e3a ChangeLog 2127
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 a1f2c92ac167617b464b1c0c0965c0ff chemtool-1.6-r1.ebuild 1881
MD5 7151e5d79c40abc9dadc9d84eee1f309 files/chemtool-1.6.patch 447
+MD5 4ae73ea952733fc1500a98a82b1b8f3d files/digest-chemtool-1.6.3 66
MD5 56154dbfda6dca74e622eafa3eb88d36 files/digest-chemtool-1.6-r1 64
diff --git a/app-sci/chemtool/chemtool-1.6.3.ebuild b/app-sci/chemtool/chemtool-1.6.3.ebuild
new file mode 100644
index 000000000000..601b30eb3aba
--- /dev/null
+++ b/app-sci/chemtool/chemtool-1.6.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chemtool/chemtool-1.6.3.ebuild,v 1.1 2004/05/24 08:05:19 phosphan Exp $
+
+use kde && inherit kde-functions
+inherit eutils
+
+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"
+IUSE="gnome kde nls"
+
+DEPEND=">=media-gfx/transfig-3.2.3d
+ =x11-libs/gtk+-1*
+ x86? ( >=media-libs/libemf-1.0 )"
+
+src_compile() {
+ local mykdedir="${KDEDIR}"
+ if [ -z "${mykdedir}" ]; then mykdedir="bogus_kde"; fi
+ local config_opts
+ local mycppflags
+ if [ ${ARCH} = "x86" ]; then
+ 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 kde`" ]; then
+ config_opts="${config_opts} --with-kdedir=${mykdedir}" ;
+ else
+ config_opts="${config_opts} --without-kdedir"
+ 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/app-sci/chemtool/files/digest-chemtool-1.6.3 b/app-sci/chemtool/files/digest-chemtool-1.6.3
new file mode 100644
index 000000000000..dd8c77b81b06
--- /dev/null
+++ b/app-sci/chemtool/files/digest-chemtool-1.6.3
@@ -0,0 +1 @@
+MD5 054b3e737781c5cf09967444d218ae73 chemtool-1.6.3.tar.gz 400772