commit: c200a718283ffeb417dfa9c5755250b2f1770b31 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Dec 20 16:11:27 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Dec 20 16:35:42 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c200a718
sci-chemistry/gperiodic: Clean old Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild | 52 ------------------------- 1 file changed, 52 deletions(-) diff --git a/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild b/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild deleted file mode 100644 index 8aff46e..0000000 --- a/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Periodic table application for Linux" -HOMEPAGE="http://www.frantz.fi/software/gperiodic.php" -SRC_URI="http://www.frantz.fi/software/${P}.tar.gz" - -KEYWORDS="amd64 x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="nls" - -RDEPEND=" - sys-libs/ncurses:0 - x11-libs/gtk+:2 - x11-libs/cairo[X] - nls? ( sys-devel/gettext )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - # The author has removed "unnecessary automake/autoconf setup" - - sed -i -e "s|-DGTK_DISABLE_DEPRECATED|${CFLAGS}|" Makefile || die - sed -i -e "/make clean/d" Makefile || die - sed -i -e "s|CC=gcc|CC=$(tc-getCC)|" Makefile || die - if ! use nls; then - sed -i -e "/make -C po/d" Makefile || die - fi -} - -src_install() { - sed -i -e "s|/usr/bin|${ED}/usr/bin|" Makefile || die - sed -i -e "s|/usr/share|${ED}/usr/share|" Makefile || die - sed -i -e "s|/usr/share|${ED}/usr/share|" po/Makefile || die - - # Create directories - Makefile is quite broken. - dodir \ - /usr/bin \ - /usr/share/pixmaps \ - /usr/share/applications - - default - - # The man page seems to have been removed too. - newdoc po/README README.translation -}
