summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-05-12 20:45:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-05-12 20:45:30 +0000
commit907b14b08c8674589871b2d53bf4055b2ddb3b64 (patch)
tree3e9ca4c2afa1c4318a420f4d6c4122f1045a4d44 /games-strategy
parentStable on ppc wrt bug 220651 (diff)
downloadgentoo-2-907b14b08c8674589871b2d53bf4055b2ddb3b64.tar.gz
gentoo-2-907b14b08c8674589871b2d53bf4055b2ddb3b64.tar.bz2
gentoo-2-907b14b08c8674589871b2d53bf4055b2ddb3b64.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/dopewars/dopewars-1.5.12.ebuild73
1 files changed, 0 insertions, 73 deletions
diff --git a/games-strategy/dopewars/dopewars-1.5.12.ebuild b/games-strategy/dopewars/dopewars-1.5.12.ebuild
deleted file mode 100644
index 0b1dea7d9e65..000000000000
--- a/games-strategy/dopewars/dopewars-1.5.12.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.12.ebuild,v 1.3 2006/10/09 15:03:27 nyhm Exp $
-
-inherit 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 ppc x86"
-IUSE="nls ncurses gtk gnome esd sdl"
-
-RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2 )
- esd? ( media-sound/esound )
- gtk? ( =x11-libs/gtk+-2* )
- nls? ( virtual/libintl )
- sdl? (
- media-libs/libsdl
- media-libs/sdl-mixer
- )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- 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 "sed failed"
-}
-
-src_compile() {
- local myservconf
-
- if use gtk ; then
- myservconf="--enable-gui-server $(use_enable gtk glib2)"
- else
- myservconf="--disable-gui-client --disable-glibtest --disable-gtktest"
- fi
-
- egamesconf \
- --disable-dependency-tracking \
- $(use_enable ncurses curses-client) \
- $(use_enable nls) \
- $(use_with sdl) \
- $(use_with esd) \
- --enable-networking \
- --enable-plugins \
- ${myservconf} \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README TODO
-
- dodir /usr/share
- cd "${D}/${GAMES_DATADIR}"
- use gnome && mv gnome "${D}/usr/share" || rm -rf gnome
- mv pixmaps "${D}/usr/share"
- dohtml -r doc/*/*
- rm -rf doc
-
- prepgamesdirs
-}