/[gentoo-x86]/games-rpg/tmw/tmw-0.0.29.1.ebuild
Gentoo

Contents of /games-rpg/tmw/tmw-0.0.29.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Feb 7 21:19:12 2012 UTC (8 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
tmw became games-rpg/mana

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.29.1.ebuild,v 1.6 2010/05/24 15:45:55 tupone Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 MUSIC=tmwmusic-0.0.20
9 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
10 HOMEPAGE="http://themanaworld.org/"
11 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
12 mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ~ppc x86"
17 IUSE="nls opengl"
18
19 RDEPEND=">=dev-games/physfs-1.0.0
20 dev-libs/libxml2
21 media-libs/sdl-mixer[vorbis]
22 media-libs/sdl-image[png]
23 media-libs/sdl-net
24 media-libs/sdl-ttf
25 net-misc/curl
26 sys-libs/zlib
27 media-libs/libpng
28 media-fonts/dejavu
29 >=dev-games/guichan-0.8.1[sdl]
30 nls? ( virtual/libintl )
31 opengl? ( virtual/opengl )"
32 DEPEND="${RDEPEND}
33 dev-util/pkgconfig
34 nls? ( sys-devel/gettext )"
35
36 src_prepare() {
37 sed -i \
38 -e '/^SUBDIRS/s/fonts//' \
39 data/Makefile.in \
40 || die "sed failed"
41 epatch "${FILESDIR}"/${P}-desktop.patch \
42 "${FILESDIR}"/${P}-gcc45.patch
43 }
44
45 src_configure() {
46 egamesconf \
47 --disable-dependency-tracking \
48 --localedir=/usr/share/locale \
49 $(use_enable nls) \
50 $(use_with opengl)
51 }
52
53 src_install() {
54 emake DESTDIR="${D}" install || die "emake install failed"
55 dodoc AUTHORS ChangeLog NEWS README
56 dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
57 dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
58 cd "${WORKDIR}"
59 insinto "${GAMES_DATADIR}"/${PN}/data/music
60 doins ${MUSIC}/data/music/*.ogg || die
61 newdoc ${MUSIC}/README README.music
62 prepgamesdirs
63 }

  ViewVC Help
Powered by ViewVC 1.1.20