summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-06-30 02:38:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-06-30 02:38:11 +0000
commitff25648dc546f136d89b428777010af7b6f1f980 (patch)
tree14f13b25851c5b75b7f8df240aa5340ae05d8278 /games-rpg/tmw
parentversion bump (bug #197911) (diff)
downloadgentoo-2-ff25648dc546f136d89b428777010af7b6f1f980.tar.gz
gentoo-2-ff25648dc546f136d89b428777010af7b6f1f980.tar.bz2
gentoo-2-ff25648dc546f136d89b428777010af7b6f1f980.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-rpg/tmw')
-rw-r--r--games-rpg/tmw/ChangeLog8
-rw-r--r--games-rpg/tmw/files/tmw-0.0.29.1-desktop.patch22
-rw-r--r--games-rpg/tmw/tmw-0.0.29.1.ebuild60
3 files changed, 89 insertions, 1 deletions
diff --git a/games-rpg/tmw/ChangeLog b/games-rpg/tmw/ChangeLog
index 39b6f1912499..b59225e1b462 100644
--- a/games-rpg/tmw/ChangeLog
+++ b/games-rpg/tmw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/tmw
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.32 2009/02/27 07:52:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/ChangeLog,v 1.33 2009/06/30 02:37:59 mr_bones_ Exp $
+
+*tmw-0.0.29.1 (30 Jun 2009)
+
+ 30 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/tmw-0.0.29.1-desktop.patch, +tmw-0.0.29.1.ebuild:
+ version bump
*tmw-0.0.28.1 (27 Feb 2009)
diff --git a/games-rpg/tmw/files/tmw-0.0.29.1-desktop.patch b/games-rpg/tmw/files/tmw-0.0.29.1-desktop.patch
new file mode 100644
index 000000000000..127efd371f3a
--- /dev/null
+++ b/games-rpg/tmw/files/tmw-0.0.29.1-desktop.patch
@@ -0,0 +1,22 @@
+Make sure desktop/pixmaps dont get thrown into /usr/games.
+
+--- Makefile.in
++++ Makefile.in
+@@ -163,3 +163,3 @@
+ SUBDIRS = data docs src
+-desktopdir = $(datadir)/applications
++desktopdir =/usr/share/applications
+ desktop_DATA = tmw.desktop
+--- data/icons/Makefile.in
++++ data/icons/Makefile.in
+@@ -318,7 +318,7 @@
+ install-data-local:
+- $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps
+- $(INSTALL) $(srcdir)/tmw.png $(DESTDIR)$(datadir)/pixmaps/tmw.png
++ $(mkinstalldirs) $(DESTDIR)/usr/share/pixmaps
++ $(INSTALL) $(srcdir)/tmw.png $(DESTDIR)/usr/share/pixmaps/tmw.png
+
+ uninstall-local:
+- rm -f $(DESTDIR)$(datadir)/pixmaps/tmw.png
++ rm -f $(DESTDIR)/usr/share/pixmaps/tmw.png
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/games-rpg/tmw/tmw-0.0.29.1.ebuild b/games-rpg/tmw/tmw-0.0.29.1.ebuild
new file mode 100644
index 000000000000..a251d8d2d091
--- /dev/null
+++ b/games-rpg/tmw/tmw-0.0.29.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.29.1.ebuild,v 1.1 2009/06/30 02:37:59 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+MUSIC=tmwmusic-0.0.20
+DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
+HOMEPAGE="http://themanaworld.org/"
+SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
+ mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls opengl"
+PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
+
+RDEPEND=">=dev-games/physfs-1.0.0
+ opengl? ( virtual/opengl )
+ dev-libs/libxml2
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[png]
+ media-libs/sdl-net
+ media-libs/sdl-ttf
+ net-misc/curl
+ sys-libs/zlib
+ media-libs/libpng
+ media-fonts/dejavu
+ >=dev-games/guichan-0.8.1[sdl]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e '/^SUBDIRS/s/fonts//' \
+ data/Makefile.in \
+ || die "sed failed"
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --localedir=/usr/share/locale \
+ $(use_enable nls) \
+ $(use_with opengl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
+ cd "${WORKDIR}"
+ insinto "${GAMES_DATADIR}"/${PN}/data/music
+ doins ${MUSIC}/data/music/*.ogg || die
+ newdoc ${MUSIC}/README README.music
+ prepgamesdirs
+}