summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-03-27 22:32:46 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-03-27 22:32:46 +0000
commit39d6c5bfeb5a90dcd2db61015b8056405cbb9891 (patch)
tree090d7582ad8158f91ff25a59dcf15ef7d7257d47 /net-analyzer/nessus-client
parentVersion bump, bug #157594 (diff)
downloadgentoo-2-39d6c5bfeb5a90dcd2db61015b8056405cbb9891.tar.gz
gentoo-2-39d6c5bfeb5a90dcd2db61015b8056405cbb9891.tar.bz2
gentoo-2-39d6c5bfeb5a90dcd2db61015b8056405cbb9891.zip
add doc dep wrt bug #168980
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-analyzer/nessus-client')
-rw-r--r--net-analyzer/nessus-client/ChangeLog5
-rw-r--r--net-analyzer/nessus-client/nessus-client-1.0.2.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/net-analyzer/nessus-client/ChangeLog b/net-analyzer/nessus-client/ChangeLog
index 8e9069fc0917..a91d0aadc9f6 100644
--- a/net-analyzer/nessus-client/ChangeLog
+++ b/net-analyzer/nessus-client/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nessus-client
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-client/ChangeLog,v 1.5 2007/01/21 17:49:25 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-client/ChangeLog,v 1.6 2007/03/27 22:32:46 jokey Exp $
+
+ 27 Mar 2007; Markus Ullmann <jokey@gentoo.org> nessus-client-1.0.2.ebuild:
+ add doc dep wrt bug #168980
*nessus-client-1.0.2 (21 Jan 2007)
diff --git a/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild b/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild
index 4fc704228fa6..54654737e5dc 100644
--- a/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild
+++ b/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild,v 1.1 2007/01/21 17:49:25 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-client/nessus-client-1.0.2.ebuild,v 1.2 2007/03/27 22:32:46 jokey Exp $
inherit eutils
@@ -14,12 +14,13 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="doc"
DEPEND="!net-analyzer/nessus-core
dev-libs/openssl
media-libs/glitz
>=x11-libs/gtk+-2.8.8"
+RDEPEND="doc? ( app-text/htmldoc )"
S="${WORKDIR}/${MY_P}"
@@ -35,3 +36,10 @@ src_install() {
doicon "${WORKDIR}"/${PN}.png
make_desktop_entry NessusClient "Nessus Client" /usr/share/pixmaps/nessus-client.png "Application;Network;"
}
+
+pkg_postinst() {
+ if ! use doc ; then
+ elog "To have docs available and the Client not complaining about not finding them you need"
+ elog "to set the doc useflag. Though it will add htmldoc as dependency then, a not that small package"
+ fi
+} \ No newline at end of file