diff options
author | 2008-10-13 08:43:28 +0000 | |
---|---|---|
committer | 2008-10-13 08:43:28 +0000 | |
commit | 8004b4c169c7be001795189c6ee476bb0b3d8778 (patch) | |
tree | 88f738d07f489456076a9c3e3a3bd256dad7c58b /net-analyzer/cacti/cacti-0.8.7b-r3.ebuild | |
parent | OpenOffice.org 3.0.0, final release (diff) | |
download | gentoo-2-8004b4c169c7be001795189c6ee476bb0b3d8778.tar.gz gentoo-2-8004b4c169c7be001795189c6ee476bb0b3d8778.tar.bz2 gentoo-2-8004b4c169c7be001795189c6ee476bb0b3d8778.zip |
Added doc USE flag to install html manual, fixed a bit dependencies to allow installation with any php capable web-server, bug #229523, thank Tiziano Müller for report.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'net-analyzer/cacti/cacti-0.8.7b-r3.ebuild')
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.7b-r3.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild b/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild index 595a7683e592..83b481285737 100644 --- a/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild +++ b/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild,v 1.1 2008/08/19 07:23:10 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7b-r3.ebuild,v 1.2 2008/10/13 08:43:28 pva Exp $ -inherit eutils webapp depend.apache depend.php +inherit eutils webapp depend.php # Support for _p* in version. MY_P=${P/_p*/} @@ -24,16 +24,15 @@ fi LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="snmp" +IUSE="snmp doc" DEPEND="" -want_apache need_php_cli +need_httpd_cgi need_php_httpd -RDEPEND="!apache2? ( www-servers/lighttpd ) - snmp? ( net-analyzer/net-snmp ) +RDEPEND="snmp? ( net-analyzer/net-snmp ) net-analyzer/rrdtool dev-php/adodb virtual/mysql @@ -62,15 +61,14 @@ pkg_setup() { require_php_with_use cli mysql xml session pcre sockets } -src_compile() { - einfo "Nothing to compile." -} +src_compile() { :; } src_install() { webapp_src_preinst rm LICENSE README - dodoc docs/{CHANGELOG,CONTRIB,INSTALL,README,REQUIREMENTS,UPGRADE} + dodoc docs/{CHANGELOG,CONTRIB,INSTALL,README,REQUIREMENTS,UPGRADE,text/manual.txt} + use doc && dohtml -r docs/html/ rm -rf docs rm -rf lib/adodb |