/[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.3 - (hide annotations) (download)
Tue Jan 5 17:28:24 2010 UTC (10 years, 7 months ago) by mr_bones_
Branch: MAIN
Changes since 1.2: +3 -3 lines
apply desktop file patch; rerolled desktop file patch to quiet patch and quiet desktop-file-validate
(Portage version: 2.1.6.13/cvs/Linux i686)

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.3 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.29.1.ebuild,v 1.2 2009/09/30 19:50:14 nyhm 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     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 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 mr_bones_ 1.3 epatch "${FILESDIR}"/${P}-desktop.patch
42 mr_bones_ 1.1 }
43    
44     src_configure() {
45     egamesconf \
46     --disable-dependency-tracking \
47     --localedir=/usr/share/locale \
48     $(use_enable nls) \
49     $(use_with opengl)
50     }
51    
52     src_install() {
53     emake DESTDIR="${D}" install || die "emake install failed"
54     dodoc AUTHORS ChangeLog NEWS README
55     dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
56     dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
57     cd "${WORKDIR}"
58     insinto "${GAMES_DATADIR}"/${PN}/data/music
59     doins ${MUSIC}/data/music/*.ogg || die
60     newdoc ${MUSIC}/README README.music
61     prepgamesdirs
62     }

  ViewVC Help
Powered by ViewVC 1.1.20