# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit webapp depend.php DESCRIPTION="Z-Push is an implementation of the ActiveSync protocol." HOMEPAGE="http://z-push.sourceforge.net/" SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" LICENSE="AGPL-3" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="|| ( =dev-lang/php-5.3 )" S="${WORKDIR}"/${PN} need_php_httpd src_install() { webapp_src_preinst dodoc INSTALL LICENSE rm -f INSTALL LICENSE insinto "${MY_HTDOCSDIR}" doins -r . webapp_serverowned "${MY_HTDOCSDIR}"/state webapp_configfile "${MY_HTDOCSDIR}"/config.php webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt webapp_src_install }