alpha-quadrant/dev-php/drupalcs/drupalcs-9999.ebuild
2012-04-24 14:40:10 +02:00

30 lines
605 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/${PN}.git"
EGIT_BRANCH="7.x-1.x"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
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
}