From 6aa6eac9dde5bcc96c51703a54c007fa91c13057 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 11 Jul 2010 16:58:10 +0000 Subject: Respecting USE=cairo and fix for prefix, thanks rei4dan for the patch (Portage version: 2.2_rc67/cvs/Linux x86_64) --- sci-chemistry/bkchem/ChangeLog | 5 ++++- sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'sci-chemistry/bkchem') diff --git a/sci-chemistry/bkchem/ChangeLog b/sci-chemistry/bkchem/ChangeLog index c4b205d41d6b..b23850e50a5a 100644 --- a/sci-chemistry/bkchem/ChangeLog +++ b/sci-chemistry/bkchem/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/bkchem # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.4 2010/06/25 08:06:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.5 2010/07/11 16:58:10 jlec Exp $ + + 11 Jul 2010; Justin Lecher bkchem-0.14.0_pre1-r2.ebuild: + Respecting USE=cairo and fix for prefix, thanks rei4dan for the patch 25 Jun 2010; Justin Lecher bkchem-0.14.0_pre1-r2.ebuild: Added desktop entry diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild index 16f8bd8c157f..acedf89ea256 100644 --- a/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild +++ b/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild,v 1.3 2010/06/25 08:06:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild,v 1.4 2010/07/11 16:58:10 jlec Exp $ EAPI="3" @@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" IUSE="cairo" -DEPEND="dev-python/pycairo[svg]" +DEPEND="cairo? ( dev-python/pycairo[svg] )" RDEPEND="${DEPEND}" S="${WORKDIR}"/${MY_P} @@ -36,6 +36,6 @@ src_prepare() { src_install() { distutils_src_install "--strip=${D%/}" - sed "s:^python:$(PYTHON):g" -i "${D}"/usr/bin/${PN} || die - make_desktop_entry /usr/bin/bkchem BKChem /usr/share/${PN}/images/${PN}.png + sed "s:^python:$(PYTHON):g" -i "${ED}"/usr/bin/${PN} || die + make_desktop_entry "${EPREFIX}"/usr/bin/bkchem BKChem "${EPREFIX}"/usr/share/${PN}/images/${PN}.png } -- cgit v1.2.3-65-gdbad