# ChangeLog for dev-php5/onphp
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/ChangeLog,v 1.1 2005/11/11 01:09:58 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/ChangeLog,v 1.2 2005/11/11 01:24:33 voxus Exp $
+
+*onphp-0.2.4 (11 Nov 2005)
+
+ 11 Nov 2005; Konstantin Arkhipov <voxus@gentoo.org> +onphp-0.2.4.ebuild,
+ -onphp-0.2.1.ebuild, -onphp-0.2.2.ebuild:
+ Moved to dev-php5 category and bumped to 0.2.4. Ebuild taken from Gentoo's
+ PHP overlay, thanks to Luca Longinotti for maintaining it there.
*onphp-0.2.2 (23 Sep 2005)
-MD5 e80a0d1dff922fc561fccb7e3448ff11 ChangeLog 791
-MD5 f444f271c657a5df3a129905a85d5d1a files/digest-onphp-0.2.1 63
-MD5 6e78b5b899b0f3cfd78c671278542f63 files/digest-onphp-0.2.2 63
+MD5 102f5012a02e5237264e4169013889bc ChangeLog 1083
+MD5 42e79fdc9706826a6c2b6216a65d3eb9 files/digest-onphp-0.2.4 63
MD5 cb28be74814f0f6cbf78047995f51226 metadata.xml 233
-MD5 2ea9a23fa42352ec8d153f8ad4528723 onphp-0.2.1.ebuild 717
-MD5 47dcd416330bc5f051062218aaea66f2 onphp-0.2.2.ebuild 717
+MD5 d99bf37951eaca53caccc36fab4cc819 onphp-0.2.4.ebuild 775
+++ /dev/null
-MD5 9035bfb1127863a939d20810d62017f7 onphp-0.2.1.tar.bz2 52514
+++ /dev/null
-MD5 76ccc91e0f945ad937b528c56e1efcea onphp-0.2.2.tar.bz2 54847
--- /dev/null
+MD5 0ef421a285ef32f2a9f129b8f6b9ae91 onphp-0.2.4.tar.bz2 70940
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/onphp-0.2.1.ebuild,v 1.1 2005/11/11 01:09:58 voxus Exp $
-
-DESCRIPTION="onPHP is the GPL'ed multi-purpose object-oriented PHP framework."
-HOMEPAGE="http://onphp.shadanakar.org/"
-SRC_URI="http://onphp.shadanakar.org/download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=">=virtual/php-5.0.0"
-
-TARGETDIR="${D}/usr/share/php/${PN}"
-
-src_install() {
- use doc && {
- find doc -maxdepth 1 -type f -exec dodoc {} \;
- }
-
- mkdir -p ${TARGETDIR}
-
- cp -pPR core main ${TARGETDIR}/
- cp global.inc.php.tpl ${TARGETDIR}/global.inc.php
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/onphp-0.2.2.ebuild,v 1.1 2005/11/11 01:09:58 voxus Exp $
-
-DESCRIPTION="onPHP is the GPL'ed multi-purpose object-oriented PHP framework."
-HOMEPAGE="http://onphp.shadanakar.org/"
-SRC_URI="http://onphp.shadanakar.org/download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=">=virtual/php-5.0.0"
-
-TARGETDIR="${D}/usr/share/php/${PN}"
-
-src_install() {
- use doc && {
- find doc -maxdepth 1 -type f -exec dodoc {} \;
- }
-
- mkdir -p ${TARGETDIR}
-
- cp -pPR core main ${TARGETDIR}/
- cp global.inc.php.tpl ${TARGETDIR}/global.inc.php
-}
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/onphp-0.2.4.ebuild,v 1.1 2005/11/11 01:24:33 voxus Exp $
+
+inherit php-lib-r1
+
+DESCRIPTION="onPHP is the GPL'ed multi-purpose object-oriented PHP framework."
+HOMEPAGE="http://onphp.org/"
+SRC_URI="http://onphp.org/download/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+
+need_php_by_category
+
+src_install() {
+ if use doc ; then
+ for doc in `find doc -type f -print` ; do
+ dodoc-php ${doc}
+ done
+ fi
+
+ cp global.inc.php.tpl global.inc.php
+ php-lib-r1_src_install ./ global.inc.php
+ php-lib-r1_src_install ./ `find core -type f -print`
+ php-lib-r1_src_install ./ `find main -type f -print`
+}