You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/phpsysinfo/phpsysinfo-3.0.19.ebuild

37 lines
860 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-3.0.19.ebuild,v 1.3 2012/11/14 11:21:50 blueness Exp $
EAPI="4"
inherit webapp
DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
HOMEPAGE="http://phpsysinfo.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ppc ppc64 ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="virtual/httpd-php
dev-lang/php[simplexml,xml,xsl,unicode]"
need_httpd_cgi
S="${WORKDIR}/${PN}"
src_install() {
webapp_src_preinst
dodoc ChangeLog README*
rm -f ChangeLog COPYING README* || die
insinto "${MY_HTDOCSDIR}"
doins -r .
newins config.php{.new,}
webapp_configfile "${MY_HTDOCSDIR}"/config.php
webapp_src_install
}