summaryrefslogtreecommitdiff
blob: 2b0fcc0c23152f2e944a34ce96484c5885486fb9 (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
25
26
27
28
29
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild,v 1.1 2014/10/10 14:18:14 grknight Exp $

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,xmlreader,xslt]"

src_install() {
	php-pear-r1_src_install

	# install manual, tutorial, reference material
	use doc && dodoc -r docs/*
}