summaryrefslogtreecommitdiff
blob: ad1bb99f72c543398a213c6c3df1be7bad834c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.14.ebuild,v 1.1 2010/02/16 05:07:11 beandog Exp $

inherit php-pear-r1 depend.php eutils

KEYWORDS="~amd64 ~x86"

DESCRIPTION="Code Beautifier for PHP."
LICENSE="PHP-3"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND=">=dev-php/PEAR-Log-1.8"

need_php5

pkg_setup() {
	require_php_with_use tokenizer
}

pkg_postinst() {
	has_php
	if ! built_with_use --missing true =${PHP_PKG} bzip2 ; then
		elog "${PN} can optionally use bzip2 features."
		elog "If you want those, emerge ${PHP_PKG} with this flag in USE."
	fi
}