/[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.2 - (show annotations) (download)
Tue Feb 7 21:19:12 2012 UTC (8 years, 4 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
tmw became games-rpg/mana

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-20110911.ebuild,v 1.1 2011/12/03 18:38:16 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