mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
dev-php/phpmd: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST phpmd-2.5.0.tar.gz 56360 BLAKE2B 03b515e55babb1e0c6df2573f87fd10ee63f1c17a5e448dc3debd74c07c72b32c0331687fb79f023072e276fe18d9de2476f2b70d3f8bf555f1b133a9751fdcd SHA512 93e5eac4755ce9dbe003935a5768c2798f13c3a40d5a7c188d3a70edc1fe76646b72144a62f943f3fc95f83131f96b315a63e327971c3c4404d600fcd5f43d18
|
||||
DIST phpmd-2.6.0.tar.gz 57496 BLAKE2B 447e1b0a18372abc82746e8f2a47ea0df76fdeea51e7012ea63a0d644f7cd71790a3e354584d18f57bab3e7211f1037ff3f61aff367c3419caa44e77e79d1cbb SHA512 7c81bef8457f28dd40b908f535cf432d65ba6910c54f730b4d9f7a0bffa096653af029701a6ce4bd22910ec69453c5ff22c657100757d7d6eacff2226b597023
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="PHP mess detector"
|
||||
HOMEPAGE="http://www.phpmd.org/"
|
||||
|
||||
# The test suite is absent from the release tarballs because
|
||||
# the only build system that Composer understands is "cp -r".
|
||||
# To obtain the tests, we would need to grab a VCS snapshot.
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/php[xml]
|
||||
dev-php/phpdepend"
|
||||
|
||||
src_install() {
|
||||
dodoc AUTHORS.rst CHANGELOG CONTRIBUTING.md README.rst
|
||||
|
||||
# The executable will only look for autoload.php in one place, so we
|
||||
# create an (otherwise pointless) vendor directory to house it.
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
doins "${FILESDIR}/autoload.php"
|
||||
|
||||
insinto "/usr/share/${PN}/src"
|
||||
doins -r src/main
|
||||
|
||||
# The executable uses relative include paths, so the one users will
|
||||
# actually run needs to be symlinked into the source tree.
|
||||
exeinto "/usr/share/${PN}/src/bin"
|
||||
doexe "src/bin/${PN}"
|
||||
dosym "/usr/share/${PN}/src/bin/${PN}" "/usr/bin/${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user