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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Dec 3 18:38:16 2011 UTC (8 years, 7 months ago) by tupone
Branch: MAIN
Version bump. Bug #363795

(Portage version: 2.1.10.39/cvs/Linux i686)

1 tupone 1.1 # Copyright 1999-2011 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.5.2.ebuild,v 1.1 2011/08/02 11:56:25 tupone Exp $
4    
5     EAPI=2
6     inherit eutils games
7    
8     MY_PN=${PN}-branding
9     MY_P=${MY_PN}-${PV}
10    
11     DESCRIPTION="Branding for the Mana client for server.themanaworld.org"
12     HOMEPAGE="http://themanaworld.org/"
13     SRC_URI="mirror://sourceforge/themanaworld/${MY_P}.tar.gz"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~ppc ~x86"
18     IUSE=""
19    
20     RDEPEND="games-rpg/mana"
21     DEPEND=""
22    
23     S="${WORKDIR}"/${MY_P}
24     PATCHES=( "${FILESDIR}"/${MY_PN}-gentoo.patch )
25    
26     src_prepare() {
27     base_src_prepare
28     sed -i \
29     -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
30     tmw tmw.desktop \
31     || die "sed failed"
32     }
33    
34     src_install() {
35     doicon data/icons/tmw.xpm
36     insinto /usr/share/icons
37     doins data/icons/tmw.png
38     dogamesbin tmw
39     insinto "${GAMES_DATADIR}/${PN}/"
40     doins tmw.mana
41     doins -r data/
42     insinto /usr/share/applications
43     doins tmw.desktop
44     prepgamesdirs
45     }

  ViewVC Help
Powered by ViewVC 1.1.20