diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-20 07:50:01 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-20 07:50:01 +0000 |
commit | babe29cd0da8f96bae7acf725d2b801280386c97 (patch) | |
tree | 09e5095813d89aec2321bafdad2fde58444bb98d /games-strategy/dopewars | |
parent | Revision bump, substituting gtk2 USE flag with gtk, as per bug #106560. Wiped... (diff) | |
download | gentoo-2-babe29cd0da8f96bae7acf725d2b801280386c97.tar.gz gentoo-2-babe29cd0da8f96bae7acf725d2b801280386c97.tar.bz2 gentoo-2-babe29cd0da8f96bae7acf725d2b801280386c97.zip |
old
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-strategy/dopewars')
-rw-r--r-- | games-strategy/dopewars/dopewars-1.5.9.ebuild | 81 | ||||
-rw-r--r-- | games-strategy/dopewars/files/digest-dopewars-1.5.9 | 1 |
2 files changed, 0 insertions, 82 deletions
diff --git a/games-strategy/dopewars/dopewars-1.5.9.ebuild b/games-strategy/dopewars/dopewars-1.5.9.ebuild deleted file mode 100644 index 14df9d27647d..000000000000 --- a/games-strategy/dopewars/dopewars-1.5.9.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.9.ebuild,v 1.10 2004/07/01 05:34:11 mr_bones_ 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="x86 ppc amd64" -IUSE="nls ncurses gtk gtk2 gnome esd sdl" - -RDEPEND="virtual/libc - ncurses? ( >=sys-libs/ncurses-5.2 ) - esd? ( media-sound/esound ) - gtk? ( - || ( - gtk2? ( =x11-libs/gtk+-2* ) - =x11-libs/gtk+-1.2* - ) - dev-libs/glib - ) - nls? ( sys-devel/gettext ) - sdl? ( - media-libs/libsdl - media-libs/sdl-mixer - )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" - -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 src/dopewars.c failed" -} - -src_compile() { - local myservconf="" - if use gtk ; then - myservconf="--enable-gui-server `use_enable gtk2 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() { - make DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS ChangeLog NEWS README TODO - - cd "${D}/${GAMES_DATADIR}" - use gnome && mv gnome ../ || rm -rf gnome - mv pixmaps ../ - dohtml -r doc/*/* - rm -rf doc - dodir "${GAMES_STATEDIR}" || die "dodir failed" - mv dopewars.sco "${D}/${GAMES_STATEDIR}" - fperms 664 "${GAMES_STATEDIR}/dopewars.sco" || die "fperms failed" - - prepgamesdirs -} diff --git a/games-strategy/dopewars/files/digest-dopewars-1.5.9 b/games-strategy/dopewars/files/digest-dopewars-1.5.9 deleted file mode 100644 index b705ba032dc4..000000000000 --- a/games-strategy/dopewars/files/digest-dopewars-1.5.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 77cdbc59e7550cfda7dfb7f6b7a01050 dopewars-1.5.9.tar.gz 1181836 |