summaryrefslogtreecommitdiff
blob: ec316e2c21c2aa04996b14536f8f4fb35e6957a2 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/phing/phing-2.2.0.ebuild,v 1.2 2006/09/25 15:58:44 chtekk Exp $

inherit php-pear-lib-r1

KEYWORDS="~amd64 ~x86"
DESCRIPTION="PHP project build system based on Apache Ant."
HOMEPAGE="http://www.phing.info/"
SRC_URI="http://pear.phing.info/get/phing-${PV}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""

need_php_by_category

pkg_setup() {
	has_php

	# Phing requires some features from PHP to work correctly
	if has_version '>=dev-lang/php-5.1.2' ; then
		require_php_with_use cli spl reflection xml xsl
	else
		require_php_with_use cli spl xml xsl
	fi
}