29 lines
649 B
Bash
29 lines
649 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
PHP_PEAR_URI="pear.phpdoc.org"
|
|
|
|
inherit php-pear-r1
|
|
|
|
DESCRIPTION="The phpDocumentor package provides automatic documenting of php api directly from the source"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
|
IUSE="doc"
|
|
|
|
# block old version that provides the same binary
|
|
DEPEND="!dev-php/PEAR-PhpDocumentor"
|
|
RDEPEND="media-gfx/graphviz
|
|
dev-lang/php[iconv,intl,xslt]"
|
|
|
|
src_install() {
|
|
php-pear-r1_src_install
|
|
|
|
# install manual, tutorial, reference material
|
|
use doc && dodoc -r docs/*
|
|
}
|