diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild')
| -rw-r--r-- | dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild new file mode 100644 index 000000000000..2c85f0c8d57a --- /dev/null +++ b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_PKG_NAME="PHP_CodeBrowser" +inherit php-pear-r2 + +DESCRIPTION="Creates highlighted code by reading xml reports from codesniffer or phpunit" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +HOMEPAGE="http://pear.phpunit.de" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" + +RDEPEND="${RDEPEND} + >=dev-php/PEAR-Console_CommandLine-1.1.3 + >=dev-php/File_Iterator-1.3.0 + >=dev-php/PEAR-Log-1.12.1" + +src_prepare() { + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + -e "s~@data_dir@~${EPREFIX}/usr/share/php/data~" \ + -e "s~@package_version@~${PV}~" \ + "${S}/src/CLIController.php" || die + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + "${S}/bin/phpcb.php" || die + eapply_user +} + +src_install() { + local DOCS=( CHANGELOG.markdown README.markdown ) + insinto /usr/share/php/data/${PHP_PEAR_PKG_NAME} + doins -r templates + insinto /usr/share/php/${PHP_PEAR_PKG_NAME} + doins -r src/* + exeinto /usr/bin + newexe bin/phpcb.php phpcb + php-pear-r2_install_packagexml + einstalldocs +} |
