summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-08-11 08:14:08 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-08-11 08:14:08 +0000
commit2d024c492ac0ce72dc67c4777951d47a434937e7 (patch)
treedf82202c02a0279dcb42e90cd83309f3015ac48e /x11-proto/xextproto
parentversion bump (diff)
downloadgentoo-2-2d024c492ac0ce72dc67c4777951d47a434937e7.tar.gz
gentoo-2-2d024c492ac0ce72dc67c4777951d47a434937e7.tar.bz2
gentoo-2-2d024c492ac0ce72dc67c4777951d47a434937e7.zip
Add doc useflag.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-proto/xextproto')
-rw-r--r--x11-proto/xextproto/ChangeLog6
-rw-r--r--x11-proto/xextproto/xextproto-7.1.2.ebuild19
2 files changed, 21 insertions, 4 deletions
diff --git a/x11-proto/xextproto/ChangeLog b/x11-proto/xextproto/ChangeLog
index 9546bc98ddf8..29e2deeda319 100644
--- a/x11-proto/xextproto/ChangeLog
+++ b/x11-proto/xextproto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-proto/xextproto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/xextproto/ChangeLog,v 1.61 2010/08/10 14:42:05 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xextproto/ChangeLog,v 1.62 2010/08/11 08:14:08 scarabeus Exp $
+
+ 11 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ xextproto-7.1.2.ebuild:
+ Add doc useflag.
*xextproto-7.1.2 (10 Aug 2010)
diff --git a/x11-proto/xextproto/xextproto-7.1.2.ebuild b/x11-proto/xextproto/xextproto-7.1.2.ebuild
index 766017ea34ca..0956bb3deeae 100644
--- a/x11-proto/xextproto/xextproto-7.1.2.ebuild
+++ b/x11-proto/xextproto/xextproto-7.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/xextproto/xextproto-7.1.2.ebuild,v 1.1 2010/08/10 14:42:05 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/xextproto/xextproto-7.1.2.ebuild,v 1.2 2010/08/11 08:14:08 scarabeus Exp $
EAPI=3
@@ -9,7 +9,20 @@ inherit xorg-2
DESCRIPTION="X.Org XExt protocol headers"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE=""
+IUSE="doc"
RDEPEND="!<x11-libs/libXext-1.0.99"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ doc? (
+ app-text/xmlto
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xml-dtd:4.3
+ )"
+
+pkg_setup() {
+ CONFIGURE_OPTIONS="
+ $(use_with doc xmlto)
+ --without-fop
+ --docdir=/usr/share/${PF}
+ "
+}