summaryrefslogtreecommitdiff
blob: e16842bc503cbf26384107c54b02749b7ae5d880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit php-pear-r2

DESCRIPTION="Provides an API to create a HTML tree"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

src_install() {
	php-pear-r2_src_install
	docinto html
	dodoc -r TreeMenu.js images imagesAlt imagesAlt2 imagesAlt3 docs/example.php
}

pkg_postinst() {
	elog "Please copy the TreeMenu.js and the contents of one of the images"
	elog "directory from ${EROOT}usr/share/doc/${PF}/html to the same location"
	elog "in your website for this script to work properly"
}