summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-05-08 17:38:57 +0000
committerJeroen Roovers <jer@gentoo.org>2012-05-08 17:38:57 +0000
commit293e27a2af19339715c1391f169e57857a01ef2e (patch)
treedc80051bdc7d431a710fd67deb7ed92a5c04892d /net-analyzer/iptraf-ng
parentInitial import. Moved here from overlay graaff. (diff)
downloadgentoo-2-293e27a2af19339715c1391f169e57857a01ef2e.tar.gz
gentoo-2-293e27a2af19339715c1391f169e57857a01ef2e.tar.bz2
gentoo-2-293e27a2af19339715c1391f169e57857a01ef2e.zip
Make HTML documentation installation optional. Do not install the entire directory, but the HTML documentation only, and install into html/, not html/Documentation.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/iptraf-ng')
-rw-r--r--net-analyzer/iptraf-ng/ChangeLog7
-rw-r--r--net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild18
2 files changed, 18 insertions, 7 deletions
diff --git a/net-analyzer/iptraf-ng/ChangeLog b/net-analyzer/iptraf-ng/ChangeLog
index 948af304aaa6..6f1a5b1effcd 100644
--- a/net-analyzer/iptraf-ng/ChangeLog
+++ b/net-analyzer/iptraf-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/iptraf-ng
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.29 2012/05/04 15:52:46 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.30 2012/05/08 17:38:57 jer Exp $
+
+ 08 May 2012; Jeroen Roovers <jer@gentoo.org> iptraf-ng-1.1.2.ebuild:
+ Make HTML documentation installation optional. Do not install the entire
+ directory, but the HTML documentation only, and install into html/, not
+ html/Documentation.
*iptraf-ng-1.1.2 (04 May 2012)
diff --git a/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild
index 10e52268b342..941fd3f2d1a8 100644
--- a/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild
+++ b/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild,v 1.1 2012/05/04 15:52:46 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.1.2.ebuild,v 1.2 2012/05/08 17:38:57 jer Exp $
EAPI=4
@@ -8,19 +8,25 @@ DESCRIPTION="A console-based network monitoring utility"
HOMEPAGE="http://fedorahosted.org/iptraf-ng/"
SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2 doc? ( FDL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
+IUSE="doc"
RDEPEND=">=sys-libs/ncurses-5.7-r7"
-DEPEND="${RDEPEND}
- !net-analyzer/iptraf"
+DEPEND="
+ ${RDEPEND}
+ !net-analyzer/iptraf
+"
DOCS="CHANGES FAQ README RELEASE-NOTES"
src_install() {
default
- dohtml -r Documentation
+ use doc && \
+ dohtml -r \
+ Documentation/*.html \
+ Documentation/*.png \
+ Documentation/stylesheet-images
keepdir /var/{lib,log,lock}/iptraf-ng #376157
}