summaryrefslogtreecommitdiff
blob: 5b56605eba4921eceb79313ad14e76034f7da013 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/xorg-docs/xorg-docs-1.4-r1.ebuild,v 1.10 2007/09/29 10:07:27 armin76 Exp $

# Must be before x-modular eclass is inherited
SNAPSHOT="yes"

inherit x-modular

DESCRIPTION="X.Org docs"

KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"

RDEPEND=""
DEPEND="${RDEPEND}
	>=x11-misc/util-macros-1.1.5
	doc? (
		>=app-doc/xorg-sgml-doctools-1.2
		app-text/docbook-sgml-utils
		~app-text/docbook-sgml-dtd-4.2
		app-text/docbook-dsssl-stylesheets
	)"

IUSE="doc"

PATCHES="${FILESDIR}/1.1-allow_manpages_only.patch
	${FILESDIR}/65533-URL-interpolation.patch
	${FILESDIR}/1.4-sgml-fixes.patch"

CONFIGURE_OPTIONS="--with-x11docdir=/usr/share/doc/${PF}
	$(use_enable doc non-man-docs)
	$(use_enable doc txt)
	$(use_enable doc pdf)
	$(use_enable doc html)
	$(use_enable doc ps)"

# parallel build broken -- https://bugs.gentoo.org/show_bug.cgi?id=170798
MAKEOPTS="${MAKEOPTS} -j1"