blob: 25dcc72ed164dc45f7957b2ca26ef65a495e89aa (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit php-pear-r1
DESCRIPTION="The phpDocumentor package provides automatic documenting of php api directly from the source"
# see http://pear.php.net/bugs/bug.php?id=12577 for additional info on licensing mess
LICENSE="PHP-2.02 PHP-3 LGPL-2.1 public-domain Apache-2.0 BSD"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="minimal"
RDEPEND="!minimal? ( >=dev-php/PEAR-XML_Beautifier-1.1-r1 )
>=dev-php/smarty-2.6.0"
src_prepare()
{
# use system smarty
sed -i -e '/Smarty-2/d' "${WORKDIR}/package.xml"
sed -i -e "s|phpDocumentor/Smarty-2.6.0/libs|smarty|" \
"${S}/phpDocumentor/Converter.inc"
}
|