diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 16:32:14 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 16:32:14 +0000 |
commit | c11764fec4812459a2790bf13373f6baaba94dae (patch) | |
tree | d7ba523d9bc43703553e4d05085fb30aeb899409 /sci-chemistry/chemtool | |
parent | Moving to sci-chemistry/chemtool (diff) | |
download | gentoo-2-c11764fec4812459a2790bf13373f6baaba94dae.tar.gz gentoo-2-c11764fec4812459a2790bf13373f6baaba94dae.tar.bz2 gentoo-2-c11764fec4812459a2790bf13373f6baaba94dae.zip |
Moved from app-sci/chemtool to sci-chemistry/chemtool.
Diffstat (limited to 'sci-chemistry/chemtool')
-rw-r--r-- | sci-chemistry/chemtool/ChangeLog | 70 | ||||
-rw-r--r-- | sci-chemistry/chemtool/Manifest | 4 | ||||
-rw-r--r-- | sci-chemistry/chemtool/chemtool-1.6.3.ebuild | 77 | ||||
-rw-r--r-- | sci-chemistry/chemtool/files/digest-chemtool-1.6.3 | 1 | ||||
-rw-r--r-- | sci-chemistry/chemtool/metadata.xml | 5 |
5 files changed, 157 insertions, 0 deletions
diff --git a/sci-chemistry/chemtool/ChangeLog b/sci-chemistry/chemtool/ChangeLog new file mode 100644 index 000000000000..c06a313af2c4 --- /dev/null +++ b/sci-chemistry/chemtool/ChangeLog @@ -0,0 +1,70 @@ +# ChangeLog for app-sci/chemtool +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.1 2004/12/24 16:32:14 ribosome Exp $ + +*chemtool-1.6.3 (24 Dec 2004) + + 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +chemtool-1.6.3.ebuild: + Moved from app-sci/chemtool to sci-chemistry/chemtool. + + 08 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> + -files/chemtool-1.6.patch, -chemtool-1.6-r1.ebuild, chemtool-1.6.3.ebuild: + Cleanup + fixing bug #70454 + + 18 Aug 2004; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.3.ebuild: + stable for x86 + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> chemtool-1.6-r1.ebuild, + chemtool-1.6.3.ebuild: + Fix use invocation + +*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, + -files/config.h.in-chemtool-1.5-gentoo.diff, + -files/configure.in-chemtool-1.5-gentoo.diff, + -files/src-cht-Makefile.in-chemtool-1.5-gentoo.diff, -chemtool-1.6.ebuild: + Remove old ebuild that was dependent on kde 2.2 anyway. + + 15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6-r1.ebuild: + Removing historical supersed dependency and need-kde 2 + +*chemtool-1.6-r1 (26 Feb 2004) + + 26 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6-r1.ebuild: + Removed gettext dependency, won't install locale stuff when USE="-nls" + (see bug #37230) + + 02 Dec 2003; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.ebuild: + Fixing dependencies. + + 30 Sep 2003; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.ebuild: + Considered stable for x86. + + 06 Aug 2003; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.ebuild: + Trying to fix bug 24984, no revision bump necessary. + +*chemtool-1.6 (17 Jul 2003) + + 17 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> chemtool-1.6.ebuild, + files/chemtool-1.6.patch: + Version bump as requested in bug 24367 + +*chemtool-1.5 (27 Nov 2002) + + 18 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest, + chemtool-1.5.ebuild: + sandbox violation fix. reported by: wernfried haas <w.haas@xover.mud.at> in + bug #19562 + + 27 Nov 2002; George Shapovalov <george@gentoo.org> chemtool-1.5.ebuild, files/{Makefile.in-chemtool-1.5-gentoo.diff,digest-chemtool-1.5,config.h.in-chemtool-1.5-gentoo.diff,src-cht-Makefile.in-chemtool-1.5-gentoo.diff,configure.in-chemtool-1.5-gentoo.diff} : + + initial release. + + Chemtool is a program for drawing organic molecules + ebuild submitted by diff --git a/sci-chemistry/chemtool/Manifest b/sci-chemistry/chemtool/Manifest new file mode 100644 index 000000000000..9365901c4d4c --- /dev/null +++ b/sci-chemistry/chemtool/Manifest @@ -0,0 +1,4 @@ +MD5 ddc8ec841548d8137c1af37072e1029e ChangeLog 2494 +MD5 3e92bd96497d39964a183de5ef42bb75 chemtool-1.6.3.ebuild 1946 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 4ae73ea952733fc1500a98a82b1b8f3d files/digest-chemtool-1.6.3 66 diff --git a/sci-chemistry/chemtool/chemtool-1.6.3.ebuild b/sci-chemistry/chemtool/chemtool-1.6.3.ebuild new file mode 100644 index 000000000000..8295fbf5cf34 --- /dev/null +++ b/sci-chemistry/chemtool/chemtool-1.6.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.3.ebuild,v 1.1 2004/12/24 16:32:14 ribosome 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" +IUSE="gnome kde nls" + +DEPEND=">=media-gfx/transfig-3.2.3d + =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 + + 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.3 b/sci-chemistry/chemtool/files/digest-chemtool-1.6.3 new file mode 100644 index 000000000000..dd8c77b81b06 --- /dev/null +++ b/sci-chemistry/chemtool/files/digest-chemtool-1.6.3 @@ -0,0 +1 @@ +MD5 054b3e737781c5cf09967444d218ae73 chemtool-1.6.3.tar.gz 400772 diff --git a/sci-chemistry/chemtool/metadata.xml b/sci-chemistry/chemtool/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-chemistry/chemtool/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |