2012-04-24 14:34:17 +02:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
inherit git-2
|
|
|
|
|
|
|
|
DESCRIPTION="Drupal Code Sniffer"
|
|
|
|
HOMEPAGE="http://drupal.org/project/drupalcs"
|
2012-04-24 14:40:10 +02:00
|
|
|
EGIT_REPO_URI="http://git.drupal.org/project/${PN}.git"
|
2012-04-24 14:34:17 +02:00
|
|
|
EGIT_BRANCH="7.x-1.x"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2012-04-24 14:40:10 +02:00
|
|
|
KEYWORDS=""
|
2012-04-24 14:34:17 +02:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="dev-php/PEAR-PHP_CodeSniffer"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dodoc README.txt
|
|
|
|
|
|
|
|
insinto /usr/share/php/PHP/CodeSniffer/Standards
|
|
|
|
doins -r Drupal
|
|
|
|
insinto /usr/share/php/tests/PHP_CodeSniffer/CodeSniffer/Standards/Drupal
|
|
|
|
doins -r Test
|
|
|
|
}
|