summaryrefslogtreecommitdiff
blob: 12ff3a22244e91f9d3f7640e506985ee0835245d (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

DESCRIPTION="Static code analyser for PHP"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
HOMEPAGE="http://www.pdepend.org"
SRC_URI="http://static.pdepend.org/php/${PV}/pdepend.phar -> ${P}.phar"

RDEPEND=">=dev-lang/php-5.2.3:*[phar]"
S="${WORKDIR}"

src_unpack() { :; }

src_install() {
	insinto /usr/share/php/${PN}
	insopts -m755
	newins "${DISTDIR}/${P}.phar" ${PN}.phar
	dosym /usr/share/php/${PN}/${PN}.phar /usr/bin/${PN}
}