30 lines
614 B
Bash
30 lines
614 B
Bash
|
# 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"
|
||
|
EGIT_REPO_URI="http://git.drupal.org/project/drupalcs.git"
|
||
|
EGIT_BRANCH="7.x-1.x"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64"
|
||
|
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
|
||
|
}
|