dev-php/phpDocumentor: Version bump to 2.9.0

Includes php 7 syntax support

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Brian Evans
2018-02-20 14:28:50 -05:00
parent f3dd73a6cb
commit 2e7e9b9110
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,28 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Automatic documenting of php api directly from the source"
HOMEPAGE="http://phpdoc.org"
SRC_URI="https://github.com/${PN}/${PN}2/releases/download/v${PV}/${PN}.phar -> ${P}.phar"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
# block old version that provides the same binary
DEPEND="!dev-php/PEAR-PhpDocumentor"
RDEPEND="media-gfx/graphviz
dev-lang/php:*[cli,iconv,intl,phar,xmlreader,xslt]"
S="${WORKDIR}"
src_unpack() { :; }
src_install() {
exeinto /usr/share/php/${PN}
newexe "${DISTDIR}/${P}.phar" ${PN}.phar
dosym "../share/php/${PN}/${PN}.phar" /usr/bin/phpdoc
}