Portage is a package management system used by Gentoo Linux
# ChangeLog for games-strategy/dopewars
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.20 2008/05/12 18:45:04 maekke Exp $
12 May 2008; Markus Meier
amd64 stable, bug #221747
12 May 2008; nixnut
Stable on ppc wrt bug 221747
12 May 2008; Christian Faulhammer
dopewars-1.5.12-r1.ebuild:
stable x86, bug 221747
*dopewars-1.5.12-r1 (24 Dec 2007)
24 Dec 2007; Tupone Alfredo
+dopewars-1.5.12-r1.ebuild:
Fixing dependency on dev-libs/glib. Bug #203207 by Paul Merlin
09 Oct 2006; Tristan Heaven
Fix install path when not using the default GAMES_DATADIR
05 Oct 2006; Tristan Heaven
Fix gettext dependency
*dopewars-1.5.12 (31 Dec 2005)
31 Dec 2005; Michael Sterrett
+dopewars-1.5.12.ebuild:
version bump
20 Sep 2005; Michael Sterrett
dopewars-1.5.10.ebuild:
remove gtk2 use flag
*dopewars-1.5.10 (26 May 2005)
26 May 2005; Michael Sterrett
+dopewars-1.5.10.ebuild:
version bump
28 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
03 Jun 2004; Aron Griffis
Fix use invocation
23 Mar 2004; Michael Sterrett
don't rdepend on sed
05 Jan 2004; Jon Portnoy
AMD64 keywords.
28 Nov 2003; Michael Sterrett
fix gtk2 USE flag usage (bug 34562); fix in-game docs; fix hiscore file; more
error checking/messages
27 Nov 2003; Michael Sterrett
be less specific about glib (bug 34562)
21 Nov 2003; Michael Sterrett
files/dopewars-1.5.8-gentoo.diff:
clean version 1.5.8 from portage
21 Nov 2003; Michael Sterrett
fix gtk2 USE handling per Spider; mark stable on ppc
17 Oct 2003; L. Boshell
Marking stable on x86.
*dopewars-1.5.9 (14 Jul 2003)
14 Jul 2003; Mike Frysinger
Version bump + games.eclass + more optional support.
*dopewars-1.5.8 (28 Oct 2002)
07 Nov 2002; L. Boshell
files/dopewars-1.5.8-gentoo.diff : Fixed a small problem with the
$myconf variable and added a correction for the doc directory path in
the patch.
28 Oct 2002; L. Boshell
New version. Added support for various USE flags.
*dopewars-1.5.7 (25 Jun 2002)
17 jul 2002; Jose Alberto Suárez López
Added KEYWORDS.
25 Jun 2002; Seemant Kuulleen
files/digest-dopewars-1.5.7 :
Version bump.
*dopewars-1.5.4-r1 (7 May 2002)
17 jul 2002; Jose Alberto Suárez López
Added KEYWORDS, SLOT.
7 May 2002; Spider
fix sourceforge mirroring.
*dopewars-1.5.4-r1
11 Apr 2002; Spider
Update all glib dependencies to use glib-1.2* in preparation of unmasking the glib-2.0.1 packages
*dopewars-1.5.4-r1 (27 Mar 2002)
27 Mar 2002; Seemant Kulleen
man page/LFH fixes submitted by Matthew Kennedy.
*dopewars-1.5.4 (15 Mar 2002)
15 Mar 2002; Seemant Kulleen
Upgraded to new version and added USE dependent nls compilation. Also
changed the location of the html documentation into /usr/share/doc/dopewars
instead of /usr/share/dopewars/doc. Additionally, added a check for gnome in
the USE flag. If not present, the desktop icons etc need not be present.
1 Feb 2002; G.Bevin
This changelog is targetted to users. This means that the comments should be
well explained and written in clean English.
Every new version or revision of the package has to be marked by a '*'
seperator line as above. Changements since the last revision have to be
added to the top of the file, underneath the initial copyright and cvs header
comments, in exactly the same format as this comment.
This means that you start with header line that has the following format :
date; your_name
Below that line your explanation should follow. It has to be indented,
paragraphed and wrapped at a linewidth of 80 characters.
Any details about what exactly changed in the code should be added as a
message when the changes are committed to cvs, not in this file.
DIST dopewars-1.5.12.tar.gz 1419725 RMD160 66c86bceb67657a9fb2ef7944b1a069dafab8ae0 SHA1 ad46a38e225680e591b078eeec563d47b96684bc SHA256 23059dcdea96c6072b148ee21d76237ef3535e5be90b3b2d8239d150feee0c19
EBUILD dopewars-1.5.12-r1.ebuild 1672 RMD160 e5969a12c5a655c59295088805bd5d56bd08b4df SHA1 753a4f0b7f2a8c65f39360601d3e31b90da272cd SHA256 cf62350344ffdc41668ebf145359f9919e5494b34186fe5ef08f237807ca3fac
MISC ChangeLog 5140 RMD160 24ffd8c54dce80bca80ca05001af1d839cf2a5fe SHA1 c0aa0ee246deda6da6adf1fede490ad26cb55cdd SHA256 92e201b4fc9700d00ffae5009d8bf868760cd9f6e524aa967d49f93a66c54686
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2008 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-r1.ebuild,v 1.4 2008/05/12 18:45:04 maekke 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* )
dev-libs/glib
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="--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) \
$(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
}