diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-12-31 21:01:18 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-12-31 21:01:18 +0000 |
commit | 1fc0d4c6d575d5c29df6dcc213bc56b269fe8cec (patch) | |
tree | d2aa31c0aa3e8bd78c2089accadd8bea179bb1e6 /games-strategy | |
parent | stable amd64 (diff) | |
download | gentoo-2-1fc0d4c6d575d5c29df6dcc213bc56b269fe8cec.tar.gz gentoo-2-1fc0d4c6d575d5c29df6dcc213bc56b269fe8cec.tar.bz2 gentoo-2-1fc0d4c6d575d5c29df6dcc213bc56b269fe8cec.zip |
version bump
(Portage version: 2.0.53)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/dopewars/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/dopewars/Manifest | 6 | ||||
-rw-r--r-- | games-strategy/dopewars/dopewars-1.5.12.ebuild | 73 | ||||
-rw-r--r-- | games-strategy/dopewars/files/digest-dopewars-1.5.12 | 1 |
4 files changed, 85 insertions, 3 deletions
diff --git a/games-strategy/dopewars/ChangeLog b/games-strategy/dopewars/ChangeLog index 759870cce772..2942c3c6407b 100644 --- a/games-strategy/dopewars/ChangeLog +++ b/games-strategy/dopewars/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/dopewars # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.13 2005/09/20 14:33:18 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.14 2005/12/31 21:01:18 mr_bones_ Exp $ + +*dopewars-1.5.12 (31 Dec 2005) + + 31 Dec 2005; Michael Sterrett <mr_bones_@gentoo.org> + +dopewars-1.5.12.ebuild: + version bump 20 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> dopewars-1.5.10.ebuild: diff --git a/games-strategy/dopewars/Manifest b/games-strategy/dopewars/Manifest index 65d33c14615b..5c2d483fa754 100644 --- a/games-strategy/dopewars/Manifest +++ b/games-strategy/dopewars/Manifest @@ -1,4 +1,6 @@ -MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 7444e1b5b8dfa6d5c74511f5e718df73 dopewars-1.5.10.ebuild 1625 MD5 991565498232c9067cb11d4199e6381f ChangeLog 4286 +MD5 7444e1b5b8dfa6d5c74511f5e718df73 dopewars-1.5.10.ebuild 1625 +MD5 7444e1b5b8dfa6d5c74511f5e718df73 dopewars-1.5.12.ebuild 1625 MD5 5e44299c2480057ccce98f6a4870c8bb files/digest-dopewars-1.5.10 68 +MD5 0cff99a4a26ea3e5fa116560b00db64a files/digest-dopewars-1.5.12 68 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 diff --git a/games-strategy/dopewars/dopewars-1.5.12.ebuild b/games-strategy/dopewars/dopewars-1.5.12.ebuild new file mode 100644 index 000000000000..224696f66430 --- /dev/null +++ b/games-strategy/dopewars/dopewars-1.5.12.ebuild @@ -0,0 +1,73 @@ +# 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.12.ebuild,v 1.1 2005/12/31 21:01:18 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 gnome esd sdl" + +DEPEND="ncurses? ( >=sys-libs/ncurses-5.2 ) + esd? ( media-sound/esound ) + gtk? ( + =x11-libs/gtk+-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 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() { + 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.12 b/games-strategy/dopewars/files/digest-dopewars-1.5.12 new file mode 100644 index 000000000000..7351f62ba046 --- /dev/null +++ b/games-strategy/dopewars/files/digest-dopewars-1.5.12 @@ -0,0 +1 @@ +MD5 debf749de9053dc2fb2e74c37ae06206 dopewars-1.5.12.tar.gz 1419725 |