summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild')
-rw-r--r--app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild b/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild
index f4caf8a54513..e67895cec563 100644
--- a/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild
+++ b/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild,v 1.10 2012/02/19 15:05:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gnucash-docs/gnucash-docs-2.2.0.ebuild,v 1.11 2012/05/21 07:14:48 ssuominen Exp $
+EAPI=4
GCONF_DEBUG=no
inherit gnome2
@@ -16,12 +17,17 @@ KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE=""
-RDEPEND="gnome-extra/yelp
- !<=app-office/gnucash-2.2.1"
+RDEPEND="!<=app-office/gnucash-2.2.1"
DEPEND="${RDEPEND}
>=dev-libs/libxml2-2.5.10
- dev-libs/libxslt
- >=app-text/scrollkeeper-0.3.4
- app-text/docbook-xsl-stylesheets
- =app-text/docbook-xml-dtd-4.1.2*"
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/rarian"
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ has_version gnome-extra/yelp || elog "You need gnome-extra/yelp to view the docs."
+}