# ChangeLog for www-apps/phpsysinfo
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/ChangeLog,v 1.40 2007/09/04 12:59:52 wrobel Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/ChangeLog,v 1.41 2008/02/22 12:21:43 wrobel Exp $
+
+ 22 Feb 2008; Gunnar Wrobel <wrobel@gentoo.org> phpsysinfo-2.5.4.ebuild:
+ The ebuild needs to check php for xml support. Syntax cleanup.
04 Sep 2007; <wrobel@gentoo.org> -phpsysinfo-2.5.2.ebuild,
-phpsysinfo-2.5.3.ebuild:
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild,v 1.6 2007/09/02 15:03:28 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild,v 1.7 2008/02/22 12:21:43 wrobel Exp $
inherit eutils webapp depend.php
S=${WORKDIR}/${PN}
-need_php
+need_php_httpd
pkg_setup() {
webapp_pkg_setup
- require_php_with_use pcre
+ require_php_with_use pcre xml
}
src_install() {
webapp_src_preinst
- dodoc ChangeLog README
- cp -R [:dit:]* ${D}${MY_HTDOCSDIR}
- cp config.php.new ${D}${MY_HTDOCSDIR}/config.php
+ dodoc README
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r [:dit:]*
+ cp config.php.new config.php
+ doins config.php
+
webapp_configfile ${MY_HTDOCSDIR}/config.php
webapp_src_install
}