summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 21:09:11 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:35:56 +0200
commit33e4abc289d19dc022823060320c3b111f094d17 (patch)
treeb81d82cc824c43a3126f70fd09a84756c1bacada /games-strategy/dopewars
parentgames-strategy/dopewars: Stop using games.eclass (diff)
downloadgentoo-33e4abc289d19dc022823060320c3b111f094d17.tar.gz
gentoo-33e4abc289d19dc022823060320c3b111f094d17.tar.bz2
gentoo-33e4abc289d19dc022823060320c3b111f094d17.zip
games-strategy/dopewars: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-strategy/dopewars')
-rw-r--r--games-strategy/dopewars/dopewars-1.5.12-r2.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
deleted file mode 100644
index ca73bb9543a7..000000000000
--- a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="Re-Write of the game Drug Wars"
-HOMEPAGE="http://dopewars.sourceforge.net/"
-SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls ncurses gtk gnome sdl"
-
-RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2:0 )
- gtk? ( x11-libs/gtk+:2 )
- dev-libs/glib:2
- nls? ( virtual/libintl )
- sdl? (
- media-libs/libsdl
- media-libs/sdl-mixer
- )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-CVE-2009-3591.patch
- sed -i \
- -e "/priv_hiscore/ s:DPDATADIR:\"${GAMES_STATEDIR}\":" \
- -e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \
- -e 's:index.html:html/index.html:' \
- src/dopewars.c || die
-}
-
-src_configure() {
- local myservconf
-
- if ! use gtk ; then
- myservconf="--disable-gui-client --disable-gui-server --disable-glibtest --disable-gtktest"
- fi
-
- egamesconf \
- --disable-dependency-tracking \
- $(use_enable ncurses curses-client) \
- $(use_enable nls) \
- $(use_with sdl) \
- --without-esd \
- --enable-networking \
- --enable-plugins \
- ${myservconf}
-}
-
-src_install() {
- default
-
- dodir /usr/share
- if use gnome ; then
- mv "${D}/${GAMES_DATADIR}"/gnome "${D}/usr/share" || die
- else
- rm -r "${D}/${GAMES_DATADIR}"/gnome || die
- fi
- mv "${D}/${GAMES_DATADIR}"/pixmaps "${D}/usr/share" || die
- dohtml -r "${D}/${GAMES_DATADIR}"/doc/*/*
- rm -r "${D}/${GAMES_DATADIR}"/doc || die
-
- prepgamesdirs
-}