net-analyzer/cacti: Fix documentation installation path (bug #611342 by Juergen Rose).
authorJeroen Roovers <jer@gentoo.org>
Wed, 15 Mar 2017 17:22:40 +0000 (18:22 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 15 Mar 2017 17:23:00 +0000 (18:23 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

net-analyzer/cacti/cacti-1.0.4-r1.ebuild [moved from net-analyzer/cacti/cacti-1.0.4.ebuild with 95% similarity]
net-analyzer/cacti/cacti-1.0.5-r1.ebuild [moved from net-analyzer/cacti/cacti-1.0.5.ebuild with 95% similarity]

similarity index 95%
rename from net-analyzer/cacti/cacti-1.0.4.ebuild
rename to net-analyzer/cacti/cacti-1.0.4-r1.ebuild
index f2641066e9cc8e8bd0f2a0b7d52c49e85fa433f2..71f1fc1139464385b00675446fdc365d0963cb99 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+WEBAPP_MANUAL_SLOT="yes"
 inherit eutils webapp
 
 # Support for _p* in version.
@@ -11,6 +12,7 @@ DESCRIPTION="Cacti is a complete frontend to rrdtool"
 HOMEPAGE="http://www.cacti.net/"
 SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz"
 
+SLOT="${PV}"
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="snmp doc"
@@ -38,13 +40,12 @@ src_prepare() {
 src_compile() { :; }
 
 src_install() {
-       webapp_src_preinst
-
        dodoc docs/{CHANGELOG,txt/manual.txt}
-       docinto html
-       doins -r docs/html/
+       dodoc -r docs/html/
        rm -rf docs
 
+       webapp_src_preinst
+
        edos2unix `find -type f -name '*.php'`
 
        dodir ${MY_HTDOCSDIR}
similarity index 95%
rename from net-analyzer/cacti/cacti-1.0.5.ebuild
rename to net-analyzer/cacti/cacti-1.0.5-r1.ebuild
index f2641066e9cc8e8bd0f2a0b7d52c49e85fa433f2..71f1fc1139464385b00675446fdc365d0963cb99 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+WEBAPP_MANUAL_SLOT="yes"
 inherit eutils webapp
 
 # Support for _p* in version.
@@ -11,6 +12,7 @@ DESCRIPTION="Cacti is a complete frontend to rrdtool"
 HOMEPAGE="http://www.cacti.net/"
 SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz"
 
+SLOT="${PV}"
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="snmp doc"
@@ -38,13 +40,12 @@ src_prepare() {
 src_compile() { :; }
 
 src_install() {
-       webapp_src_preinst
-
        dodoc docs/{CHANGELOG,txt/manual.txt}
-       docinto html
-       doins -r docs/html/
+       dodoc -r docs/html/
        rm -rf docs
 
+       webapp_src_preinst
+
        edos2unix `find -type f -name '*.php'`
 
        dodir ${MY_HTDOCSDIR}