diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2007-04-17 19:56:45 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2007-04-17 19:56:45 +0000 |
commit | eeeb274f0109fd09dfedf89ccdb91737123d61f3 (patch) | |
tree | 2a21bf32cc4edbd67bb34cc89994b10b549783cf /sci-chemistry | |
parent | Cleanup vulnerable versions; see bug #172293 (diff) | |
download | gentoo-2-eeeb274f0109fd09dfedf89ccdb91737123d61f3.tar.gz gentoo-2-eeeb274f0109fd09dfedf89ccdb91737123d61f3.tar.bz2 gentoo-2-eeeb274f0109fd09dfedf89ccdb91737123d61f3.zip |
Version bump.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/chemtool/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/chemtool/chemtool-1.6.10.ebuild | 56 | ||||
-rw-r--r-- | sci-chemistry/chemtool/files/digest-chemtool-1.6.10 | 3 |
3 files changed, 65 insertions, 1 deletions
diff --git a/sci-chemistry/chemtool/ChangeLog b/sci-chemistry/chemtool/ChangeLog index 8ea0b348ef09..8e2a18714aeb 100644 --- a/sci-chemistry/chemtool/ChangeLog +++ b/sci-chemistry/chemtool/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/chemtool # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.16 2007/02/22 01:24:17 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.17 2007/04/17 19:56:45 je_fro Exp $ + +*chemtool-1.6.10 (17 Apr 2007) + + 17 Apr 2007; Jeff Gardner <je_fro@gentoo.org> +chemtool-1.6.10.ebuild: + Version bump. 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog: Redigest for Manifest2 diff --git a/sci-chemistry/chemtool/chemtool-1.6.10.ebuild b/sci-chemistry/chemtool/chemtool-1.6.10.ebuild new file mode 100644 index 000000000000..6f6d0fe0a00c --- /dev/null +++ b/sci-chemistry/chemtool/chemtool-1.6.10.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.10.ebuild,v 1.1 2007/04/17 19:56:45 je_fro 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 + =x11-libs/gtk+-2* + kde? ( kde-base/kdelibs ) + x86? ( media-libs/libemf )" + +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 +} diff --git a/sci-chemistry/chemtool/files/digest-chemtool-1.6.10 b/sci-chemistry/chemtool/files/digest-chemtool-1.6.10 new file mode 100644 index 000000000000..5a5a28561765 --- /dev/null +++ b/sci-chemistry/chemtool/files/digest-chemtool-1.6.10 @@ -0,0 +1,3 @@ +MD5 a1ce4f8965bb349e0dd0bc53313b35a8 chemtool-1.6.10.tar.gz 466296 +RMD160 4ca9f6bb75a8211f31150e93267a323456905388 chemtool-1.6.10.tar.gz 466296 +SHA256 9a4ba27e1a187efd46314b724b42862381360a08fe3939fea1e91127f8e5c53c chemtool-1.6.10.tar.gz 466296 |