diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-26 11:23:44 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-26 11:23:44 +0000 |
commit | ac7c9b4c79a185f4f529258a2c73497d5965f528 (patch) | |
tree | ee870019a519cb87b17281664405c8b5deeb940e /app-sci/chemtool | |
parent | Version bump. Removing old ebuild. (Manifest recommit) (diff) | |
download | gentoo-2-ac7c9b4c79a185f4f529258a2c73497d5965f528.tar.gz gentoo-2-ac7c9b4c79a185f4f529258a2c73497d5965f528.tar.bz2 gentoo-2-ac7c9b4c79a185f4f529258a2c73497d5965f528.zip |
*** empty log message ***
Diffstat (limited to 'app-sci/chemtool')
-rw-r--r-- | app-sci/chemtool/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/chemtool/Manifest | 2 | ||||
-rw-r--r-- | app-sci/chemtool/chemtool-1.6-r1.ebuild | 77 | ||||
-rw-r--r-- | app-sci/chemtool/files/digest-chemtool-1.6-r1 | 1 |
4 files changed, 88 insertions, 2 deletions
diff --git a/app-sci/chemtool/ChangeLog b/app-sci/chemtool/ChangeLog index b6065e754f8f..e935a36ae694 100644 --- a/app-sci/chemtool/ChangeLog +++ b/app-sci/chemtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-sci/chemtool -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/chemtool/ChangeLog,v 1.7 2003/12/02 10:27:16 phosphan Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/chemtool/ChangeLog,v 1.8 2004/02/26 11:23:44 phosphan Exp $ + +*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. diff --git a/app-sci/chemtool/Manifest b/app-sci/chemtool/Manifest index 64c8360841a1..920f82d19302 100644 --- a/app-sci/chemtool/Manifest +++ b/app-sci/chemtool/Manifest @@ -2,6 +2,7 @@ MD5 bca4cc8c9b56637e5edc3b054da2e33a chemtool-1.6.ebuild 2085 MD5 688b7e71b424ea48eb9cd4b67f227f5c chemtool-1.5.ebuild 1756 MD5 7fc39a8d444087b98178b172a5022642 ChangeLog 1287 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 6e24c8bf69bb4a55352e8ded09e25ff9 chemtool-1.6-r1.ebuild 2060 MD5 55ed6136e52ec1136e015844186dd7ba files/config.h.in-chemtool-1.5-gentoo.diff 368 MD5 776f1a36180ed2f86a523e6119066079 files/digest-chemtool-1.5 64 MD5 56154dbfda6dca74e622eafa3eb88d36 files/digest-chemtool-1.6 64 @@ -9,3 +10,4 @@ MD5 7151e5d79c40abc9dadc9d84eee1f309 files/chemtool-1.6.patch 447 MD5 85997784eda14376edb5a380af598393 files/Makefile.in-chemtool-1.5-gentoo.diff 2715 MD5 a3c19580612c87d845915088e7b2b17b files/src-cht-Makefile.in-chemtool-1.5-gentoo.diff 294 MD5 55ee243e7331b078a204b1ad52ef4146 files/configure.in-chemtool-1.5-gentoo.diff 2069 +MD5 56154dbfda6dca74e622eafa3eb88d36 files/digest-chemtool-1.6-r1 64 diff --git a/app-sci/chemtool/chemtool-1.6-r1.ebuild b/app-sci/chemtool/chemtool-1.6-r1.ebuild new file mode 100644 index 000000000000..af70ad3b78dd --- /dev/null +++ b/app-sci/chemtool/chemtool-1.6-r1.ebuild @@ -0,0 +1,77 @@ +# 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-r1.ebuild,v 1.1 2004/02/26 11:23:44 phosphan Exp $ + +[ -n "`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" +IUSE="gnome kde nls" + +DEPEND=">=media-gfx/transfig-3.2.3d + =x11-libs/gtk+-1* + >=media-libs/libemf-1.0 + sys-apps/supersed" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}.patch +} + +src_compile() { + local mykdedir="${KDEDIR}" + if [ -z "${mykdedir}" ]; then mykdedir="bogus_kde"; fi + local config_opts + config_opts="--enable-emf" + + if [ "`use kde`" ]; then + need-kde 2 + 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-r1 b/app-sci/chemtool/files/digest-chemtool-1.6-r1 new file mode 100644 index 000000000000..fcc0538bc658 --- /dev/null +++ b/app-sci/chemtool/files/digest-chemtool-1.6-r1 @@ -0,0 +1 @@ +MD5 1b7a1bde89517ef8a1b4a566bfbd9b3f chemtool-1.6.tar.gz 358695 |