From b2ed2100a5ecb066fc17d0045c0c8a6d584a4e2e Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Fri, 18 Sep 2009 14:39:37 +0000 Subject: Migrate to EAPI 2 in order to remove built_with_use usage. (Portage version: 2.2_rc40/cvs/Linux i686) --- sci-chemistry/gperiodic/ChangeLog | 8 ++++++-- sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild | 19 ++++++++----------- 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'sci-chemistry/gperiodic') diff --git a/sci-chemistry/gperiodic/ChangeLog b/sci-chemistry/gperiodic/ChangeLog index 217b4dad5e46..1142430519ff 100644 --- a/sci-chemistry/gperiodic/ChangeLog +++ b/sci-chemistry/gperiodic/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/gperiodic -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.10 2009/01/02 20:01:16 cryos Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.11 2009/09/18 14:39:37 betelgeuse Exp $ + + 18 Sep 2009; Petteri Räty + gperiodic-2.0.10.ebuild: + Migrate to EAPI 2 in order to remove built_with_use usage. 02 Jan 2009; Marcus D. Hanwell metadata.xml: Removed myself as maintainer. diff --git a/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild b/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild index 5ee973248553..7fe7bd6d6e03 100644 --- a/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild +++ b/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild,v 1.3 2008/05/29 19:59:40 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild,v 1.4 2009/09/18 14:39:37 betelgeuse Exp $ + +EAPI="2" inherit toolchain-funcs eutils @@ -15,17 +17,12 @@ IUSE="nls" RDEPEND=">=sys-libs/ncurses-5.2 =x11-libs/gtk+-2* + x11-libs/cairo[X] nls? ( sys-devel/gettext )" DEPEND="${RDEPEND} dev-util/pkgconfig" -pkg_setup() { - if ! built_with_use x11-libs/cairo X; then - die "gperiodic needs x11-libs/cairo emerged with USE=\"X\"" - fi -} - src_compile() { # The author has removed "unnecessary automake/autoconf setup" @@ -48,7 +45,7 @@ src_install() { dodir /usr/share/pixmaps dodir /usr/share/applications - make install || die "make install failed." + emake install || die "make install failed." # Fix permissions chmod 644 "${D}/usr/share/pixmaps/*" @@ -59,6 +56,6 @@ src_install() { # The man page seems to have been removed too. # doman man/gperiodic.1 - dodoc AUTHORS ChangeLog README NEWS - newdoc po/README README.translation + dodoc AUTHORS ChangeLog README NEWS || die + newdoc po/README README.translation || die } -- cgit v1.2.3-65-gdbad