From 0be0a9c38da35808cc02be488e52bcc23d78085f Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 22 Feb 2008 12:21:43 +0000 Subject: [PATCH] The ebuild needs to check php for xml support. Syntax cleanup. Package-Manager: portage-2.1.4_rc7 --- www-apps/phpsysinfo/ChangeLog | 7 +++++-- www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild | 18 +++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/www-apps/phpsysinfo/ChangeLog b/www-apps/phpsysinfo/ChangeLog index 13f7eb48158b..3d5057c9ba1d 100644 --- a/www-apps/phpsysinfo/ChangeLog +++ b/www-apps/phpsysinfo/ChangeLog @@ -1,6 +1,9 @@ # 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 phpsysinfo-2.5.4.ebuild: + The ebuild needs to check php for xml support. Syntax cleanup. 04 Sep 2007; -phpsysinfo-2.5.2.ebuild, -phpsysinfo-2.5.3.ebuild: diff --git a/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild b/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild index a7f9f790e5af..e0f57ba7154d 100644 --- a/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild +++ b/www-apps/phpsysinfo/phpsysinfo-2.5.4.ebuild @@ -1,6 +1,6 @@ -# 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 @@ -14,19 +14,23 @@ IUSE="" 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 } -- 2.26.2