summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-02-17 19:55:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-02-17 19:55:41 +0000
commitc9f4dfd8a85a6aee1aaca2abd2d1a1af3656281c (patch)
treed44f0d1f30800235381cd9f87e5947f7c641898f /games-strategy
parentVersion bump. (diff)
downloadgentoo-2-c9f4dfd8a85a6aee1aaca2abd2d1a1af3656281c.tar.gz
gentoo-2-c9f4dfd8a85a6aee1aaca2abd2d1a1af3656281c.tar.bz2
gentoo-2-c9f4dfd8a85a6aee1aaca2abd2d1a1af3656281c.zip
version bump
(Portage version: 2.1.7.16/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/wormux/ChangeLog8
-rw-r--r--games-strategy/wormux/files/wormux-0.9.0-gentoo.patch37
-rw-r--r--games-strategy/wormux/wormux-0.9.0.ebuild55
3 files changed, 99 insertions, 1 deletions
diff --git a/games-strategy/wormux/ChangeLog b/games-strategy/wormux/ChangeLog
index c90de8e73a26..e1efbd2d2444 100644
--- a/games-strategy/wormux/ChangeLog
+++ b/games-strategy/wormux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/wormux
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.36 2010/01/03 12:19:25 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/ChangeLog,v 1.37 2010/02/17 19:55:40 mr_bones_ Exp $
+
+*wormux-0.9.0 (17 Feb 2010)
+
+ 17 Feb 2010; Michael Sterrett <mr_bones_@gentoo.org> +wormux-0.9.0.ebuild,
+ +files/wormux-0.9.0-gentoo.patch:
+ version bump
03 Jan 2010; Christian Faulhammer <fauli@gentoo.org> wormux-0.8.5.ebuild:
Transfer Prefix keywords
diff --git a/games-strategy/wormux/files/wormux-0.9.0-gentoo.patch b/games-strategy/wormux/files/wormux-0.9.0-gentoo.patch
new file mode 100644
index 000000000000..73a1f018f146
--- /dev/null
+++ b/games-strategy/wormux/files/wormux-0.9.0-gentoo.patch
@@ -0,0 +1,37 @@
+diff -ru wormux-0.9.0.orig/configure.ac wormux-0.9.0/configure.ac
+--- wormux-0.9.0.orig/configure.ac 2010-01-26 15:01:12.000000000 -0500
++++ wormux-0.9.0/configure.ac 2010-02-17 14:41:46.953505745 -0500
+@@ -48,8 +48,6 @@
+ dnl === Options for users =
+ dnl =========================================================================
+
+-AX_CFLAGS_WARN_ALL([CXXFLAGS])
+-
+ AC_ARG_ENABLE([servers],
+ [AS_HELP_STRING([--enable-servers],
+ [Enable building the index and game servers @<:@default=no@:>@])],
+@@ -375,12 +373,6 @@
+ CXXFLAGS="$CXXFLAGS $LIBXML_CFLAGS $LIBPNG_CFLAGS"
+ LIBS="$LIBS $LIBXML_LIBS $LIBPNG_LIBS"
+
+-dnl === Add Werror flag for gcc/g++ if debug mode is enabled ==============
+-if test "x${debug}" = "xyes"; then
+- CFLAGS="$CFLAGS -Werror"
+- CXXFLAGS="$CXXFLAGS -Werror"
+-fi
+-
+ dnl ========================================================================
+ dnl == Check for header files =
+ dnl ========================================================================
+diff -ru wormux-0.9.0.orig/data/Makefile.am wormux-0.9.0/data/Makefile.am
+--- wormux-0.9.0.orig/data/Makefile.am 2010-01-10 09:23:32.000000000 -0500
++++ wormux-0.9.0/data/Makefile.am 2010-02-17 14:42:10.353509871 -0500
+@@ -1,8 +1,2 @@
+-xdg_appsdir = $(prefix)/share/applications
+-xdg_apps_DATA = wormux.desktop
+-pixmapsdir = $(prefix)/share/pixmaps
+-pixmaps_DATA = wormux_128x128.png
+-
+ nobase_dist_pkgdata_DATA = @DATA_FILES@
+ pkgdatadir = @DATADIR@
+-EXTRA_DIST = $(pixmaps_DATA)
diff --git a/games-strategy/wormux/wormux-0.9.0.ebuild b/games-strategy/wormux/wormux-0.9.0.ebuild
new file mode 100644
index 000000000000..632e32464eed
--- /dev/null
+++ b/games-strategy/wormux/wormux-0.9.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.9.0.ebuild,v 1.1 2010/02/17 19:55:40 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A free Worms clone"
+HOMEPAGE="http://www.wormux.org/"
+SRC_URI="http://download.gna.org/wormux/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="debug nls unicode"
+
+RDEPEND="media-libs/libsdl[joystick,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ media-libs/sdl-gfx
+ media-libs/libpng
+ net-misc/curl
+ media-fonts/dejavu
+ >=dev-cpp/libxmlpp-2.6
+ nls? ( virtual/libintl )
+ unicode? ( dev-libs/fribidi )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-localedir-name=/usr/share/locale \
+ --with-datadir-name="${GAMES_DATADIR}/${PN}" \
+ --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable unicode fribidi)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ doicon data/wormux.svg
+ make_desktop_entry wormux Wormux
+ prepgamesdirs
+}