games-simulation/senken: Remove old
authorDavid Seifert <soap@gentoo.org>
Wed, 20 Dec 2017 21:30:30 +0000 (22:30 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 21 Dec 2017 01:53:06 +0000 (02:53 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

games-simulation/senken/senken-0.3.0.ebuild [deleted file]

diff --git a/games-simulation/senken/senken-0.3.0.ebuild b/games-simulation/senken/senken-0.3.0.ebuild
deleted file mode 100644 (file)
index 37203de..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="city simulation game"
-HOMEPAGE="https://savannah.nongnu.org/projects/senken/"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-RDEPEND="x11-libs/gtk+:2
-       >=media-libs/libsdl-1.2.4
-       media-libs/sdl-image
-       nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-src_prepare() {
-       sed -i \
-               -e "s:/usr/local/share:${GAMES_DATADIR}:" \
-               lib/utils.h || die
-       epatch \
-               "${FILESDIR}"/${P}-as-needed.patch \
-               "${FILESDIR}"/${P}-warnings.patch
-}
-src_configure() {
-       egamesconf $(use_enable nls)
-}
-
-src_install() {
-       default
-
-       dodir "${GAMES_DATADIR}"
-       mv "${D}/${GAMES_PREFIX}/share/senken" "${D}/${GAMES_DATADIR}/" || die
-       rm -rf "${D}/${GAMES_PREFIX}"/{include,lib,man,share} || die
-
-       insinto "${GAMES_DATADIR}/senken/img"
-       doins img/*.png
-
-       find "${D}/${GAMES_DATADIR}/" -type f -exec chmod a-x \{\} +
-       find "${D}/${GAMES_DATADIR}/" -name "Makefile.*" -exec rm -f \{\} +
-
-       prepgamesdirs
-}