summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2006-05-23 23:55:30 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2006-05-23 23:55:30 +0000
commitdf8cb5c40836ad9f4e2f77c2d45381ab14d94edf (patch)
tree8eb7fd1575b51b38c213627afdd9a5af6da40af2 /app-text
parentNew upstream version; Resolves Bug #134157. (diff)
downloadgentoo-2-df8cb5c40836ad9f4e2f77c2d45381ab14d94edf.tar.gz
gentoo-2-df8cb5c40836ad9f4e2f77c2d45381ab14d94edf.tar.bz2
gentoo-2-df8cb5c40836ad9f4e2f77c2d45381ab14d94edf.zip
Added doc USE flag; resolves bug #134158.
(Portage version: 2.1_rc2)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/opensp/ChangeLog6
-rw-r--r--app-text/opensp/opensp-1.5.2.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/app-text/opensp/ChangeLog b/app-text/opensp/ChangeLog
index 5e1573fd9bb7..7c9bb7bb38e7 100644
--- a/app-text/opensp/ChangeLog
+++ b/app-text/opensp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/opensp
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.30 2006/05/23 21:29:27 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.31 2006/05/23 23:55:30 leonardop Exp $
+
+ 23 May 2006; Leonardo Boshell <leonardop@gentoo.org> opensp-1.5.2.ebuild:
+ Added 'doc' USE flag, used to enable man and html documentation, requiring
+ xmlto. Resolves bug #134158.
*opensp-1.5.2 (23 May 2006)
diff --git a/app-text/opensp/opensp-1.5.2.ebuild b/app-text/opensp/opensp-1.5.2.ebuild
index d306a8efa834..fd63cc3e9be4 100644
--- a/app-text/opensp/opensp-1.5.2.ebuild
+++ b/app-text/opensp/opensp-1.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2.ebuild,v 1.1 2006/05/23 21:29:27 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2.ebuild,v 1.2 2006/05/23 23:55:30 leonardop Exp $
inherit eutils flag-o-matic
@@ -13,9 +13,12 @@ SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
LICENSE="JamesClark"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="nls"
+IUSE="doc nls"
-DEPEND="nls? ( >=sys-devel/gettext-0.14.5 )"
+DEPEND="nls? ( >=sys-devel/gettext-0.14.5 )
+ doc? ( app-text/xmlto )"
+
+RDEPEND=""
src_unpack() {
@@ -45,7 +48,8 @@ src_compile() {
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml \
--datadir=/usr/share/sgml/${P} \
- $(use_enable nls)"
+ $(use_enable nls) \
+ $(use_enable doc doc-build)"
econf ${myconf} || die "econf failed"
emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed"