summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/dopewars')
-rw-r--r--games-strategy/dopewars/ChangeLog10
-rw-r--r--games-strategy/dopewars/Manifest4
-rw-r--r--games-strategy/dopewars/dopewars-1.5.10.ebuild77
-rw-r--r--games-strategy/dopewars/files/digest-dopewars-1.5.101
4 files changed, 89 insertions, 3 deletions
diff --git a/games-strategy/dopewars/ChangeLog b/games-strategy/dopewars/ChangeLog
index 24054920bc62..f451b5217451 100644
--- a/games-strategy/dopewars/ChangeLog
+++ b/games-strategy/dopewars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/dopewars
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.11 2004/12/28 23:40:11 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.12 2005/05/26 02:46:50 mr_bones_ Exp $
+
+*dopewars-1.5.10 (26 May 2005)
+
+ 26 May 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +dopewars-1.5.10.ebuild:
+ version bump
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/games-strategy/dopewars/Manifest b/games-strategy/dopewars/Manifest
index 83ddb9a13e95..17b8df9f6199 100644
--- a/games-strategy/dopewars/Manifest
+++ b/games-strategy/dopewars/Manifest
@@ -1,4 +1,6 @@
-MD5 7c63f953ed01958d18e8e9c210d434c8 ChangeLog 4049
MD5 34b619da31fb2b9750f3dad51fc4d237 dopewars-1.5.9.ebuild 1901
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 1d271d85d9618831a8bbe061dfe5203e dopewars-1.5.10.ebuild 1690
+MD5 a0a340fee35e98e76b68d15f6341b0fd ChangeLog 4181
MD5 ba5b960a65c5fa58ba14cd1fefc64ffe files/digest-dopewars-1.5.9 67
+MD5 5e44299c2480057ccce98f6a4870c8bb files/digest-dopewars-1.5.10 68
diff --git a/games-strategy/dopewars/dopewars-1.5.10.ebuild b/games-strategy/dopewars/dopewars-1.5.10.ebuild
new file mode 100644
index 000000000000..c0a06790b675
--- /dev/null
+++ b/games-strategy/dopewars/dopewars-1.5.10.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.10.ebuild,v 1.1 2005/05/26 02:46:50 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="amd64 ppc x86"
+IUSE="nls ncurses gtk gtk2 gnome esd sdl"
+
+DEPEND="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
+ )"
+
+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 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
+
+ prepgamesdirs
+}
diff --git a/games-strategy/dopewars/files/digest-dopewars-1.5.10 b/games-strategy/dopewars/files/digest-dopewars-1.5.10
new file mode 100644
index 000000000000..a39daf0a2e34
--- /dev/null
+++ b/games-strategy/dopewars/files/digest-dopewars-1.5.10
@@ -0,0 +1 @@
+MD5 99f07eac91f1f272f43d16ba81205c66 dopewars-1.5.10.tar.gz 1243670