/[gentoo-x86]/games-misc/gBhed/gBhed-0.17.ebuild
Gentoo

Contents of /games-misc/gBhed/gBhed-0.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Feb 22 21:20:20 2011 UTC (3 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +10 -7 lines
EAPI=2; tidy

(Portage version: 2.1.9.25/cvs/Linux i686)

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-misc/gBhed/gBhed-0.17.ebuild,v 1.5 2008/07/27 08:02:22 nixnut Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="An Al Bhed translator"
9 HOMEPAGE="http://liquidchile.net/software/gbhed/"
10 SRC_URI="http://liquidchile.net/software/gbhed/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="gtk"
16
17 DEPEND="gtk? ( x11-libs/gtk+:2 )"
18
19 src_prepare() {
20 sed -i 's/19/32/' src/gui/translation_fork.c || die
21 }
22
23 src_configure() {
24 egamesconf \
25 --datadir="${GAMES_DATADIR}"/${PN} \
26 $(use_enable gtk gbhed)
27 }
28
29 src_install() {
30 emake -C src DESTDIR="${D}" install || die "emake install failed"
31 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
32 doman doc/abtranslate.1
33
34 if use gtk ; then
35 insinto "${GAMES_DATADIR}"/${PN}/pixmaps
36 doins pixmaps/*.{jpg,png,xpm} || die "doins failed"
37 newicon pixmaps/gbhed48.png ${PN}.png
38 make_desktop_entry gbhed ${PN}
39 doman doc/gbhed.1
40 fi
41
42 prepgamesdirs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20