/[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 - (hide 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 mr_bones_ 1.3 # Copyright 1999-2010 Gentoo Foundation
2 mr_bones_ 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.7 # $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 mr_bones_ 1.1
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 phajdan.jr 1.5 KEYWORDS="amd64 ~ppc x86"
17 mr_bones_ 1.1 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 nyhm 1.2 >=dev-games/guichan-0.8.1[sdl]
30     nls? ( virtual/libintl )
31     opengl? ( virtual/opengl )"
32 mr_bones_ 1.1 DEPEND="${RDEPEND}
33 nyhm 1.2 dev-util/pkgconfig
34     nls? ( sys-devel/gettext )"
35 mr_bones_ 1.1
36     src_prepare() {
37     sed -i \
38     -e '/^SUBDIRS/s/fonts//' \
39     data/Makefile.in \
40     || die "sed failed"
41 tupone 1.6 epatch "${FILESDIR}"/${P}-desktop.patch \
42     "${FILESDIR}"/${P}-gcc45.patch
43 mr_bones_ 1.1 }
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