/[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.1 - (hide annotations) (download)
Tue Jun 30 02:37:59 2009 UTC (11 years, 1 month ago) by mr_bones_
Branch: MAIN
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)

1 mr_bones_ 1.1 # Copyright 1999-2009 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.28.1.ebuild,v 1.1 2009/02/27 07:52:11 mr_bones_ 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     PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
19    
20     RDEPEND=">=dev-games/physfs-1.0.0
21     opengl? ( virtual/opengl )
22     dev-libs/libxml2
23     media-libs/sdl-mixer[vorbis]
24     media-libs/sdl-image[png]
25     media-libs/sdl-net
26     media-libs/sdl-ttf
27     net-misc/curl
28     sys-libs/zlib
29     media-libs/libpng
30     media-fonts/dejavu
31     >=dev-games/guichan-0.8.1[sdl]"
32     DEPEND="${RDEPEND}
33     dev-util/pkgconfig"
34    
35     src_prepare() {
36     sed -i \
37     -e '/^SUBDIRS/s/fonts//' \
38     data/Makefile.in \
39     || die "sed failed"
40     }
41    
42     src_configure() {
43     egamesconf \
44     --disable-dependency-tracking \
45     --localedir=/usr/share/locale \
46     $(use_enable nls) \
47     $(use_with opengl)
48     }
49    
50     src_install() {
51     emake DESTDIR="${D}" install || die "emake install failed"
52     dodoc AUTHORS ChangeLog NEWS README
53     dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
54     dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
55     cd "${WORKDIR}"
56     insinto "${GAMES_DATADIR}"/${PN}/data/music
57     doins ${MUSIC}/data/music/*.ogg || die
58     newdoc ${MUSIC}/README README.music
59     prepgamesdirs
60     }

  ViewVC Help
Powered by ViewVC 1.1.20