summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-09-18 14:39:37 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-09-18 14:39:37 +0000
commitb2ed2100a5ecb066fc17d0045c0c8a6d584a4e2e (patch)
tree360a0c650622d570f057022745b408808cb78f4a /sci-chemistry/gperiodic
parentremove old openvas-client ebuild (diff)
downloadgentoo-2-b2ed2100a5ecb066fc17d0045c0c8a6d584a4e2e.tar.gz
gentoo-2-b2ed2100a5ecb066fc17d0045c0c8a6d584a4e2e.tar.bz2
gentoo-2-b2ed2100a5ecb066fc17d0045c0c8a6d584a4e2e.zip
Migrate to EAPI 2 in order to remove built_with_use usage.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'sci-chemistry/gperiodic')
-rw-r--r--sci-chemistry/gperiodic/ChangeLog8
-rw-r--r--sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild19
2 files changed, 14 insertions, 13 deletions
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 <betelgeuse@gentoo.org>
+ gperiodic-2.0.10.ebuild:
+ Migrate to EAPI 2 in order to remove built_with_use usage.
02 Jan 2009; Marcus D. Hanwell <cryos@gentoo.org> 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
}