Files
gentoo/dev-php/PEAR-HTML_TreeMenu/PEAR-HTML_TreeMenu-1.2.2-r1.ebuild
Brian Evans 0f373ad4d1 dev-php/PEAR-HTML_TreeMenu: Revbump for EAPI and eclass changes
Package-Manager: Portage-2.3.6, Repoman-2.3.2
2017-07-05 15:12:35 -04:00

25 lines
645 B
Bash

# 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"
}