blob: 1fd3ee88e61d43e9a498364e71a138ea54c3b4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.4.1.ebuild,v 1.4 2008/05/19 19:26:16 nixnut Exp $
inherit eutils autotools
DESCRIPTION="GNU Image Manipulation Program help files"
HOMEPAGE="http://docs.gimp.org/"
SRC_URI="mirror://gimp/help/${P}.tar.bz2"
LICENSE="FDL-1.2"
SLOT="2"
KEYWORDS="~alpha ~amd64 hppa ~ia64 -mips ppc ~ppc64 sparc ~x86 ~x86-fbsd"
IUSE=""
# Only *not* outdated translations (see, configure.ac) are listed.
# On update do not forgive to check quickreference/Makefile.am for
# QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too.
LANGS="de en es fr it ko nl no pl ru sv"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
DEPEND="=app-text/docbook-xml-dtd-4.3*
dev-libs/libxml2
dev-libs/libxslt"
RDEPEND="=media-gfx/gimp-2.4*"
src_compile() {
local ALL_LINGUAS=""
for X in ${LANGS} ; do
use linguas_${X} && ALL_LINGUAS="${ALL_LINGUAS} ${X}"
done
ALL_LINGUAS=${ALL_LINGUAS} \
econf \
--without-gimp \
--disable-network \
|| die "econf failed"
emake -j1 || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY
}
|