# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp DESCRIPTION="Project management and coordination system" HOMEPAGE="http://www.phprojekt.com/" IUSE="" SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="x86 ~ppc" DEPEND="net-www/webapp-config" RDEPEND="virtual/php" pkg_setup () { webapp_pkg_setup einfo "Please make sure that your PHP is compiled with IMAP support" sleep 5 } pkg_compile() { :; } src_install() { webapp_src_preinst cd ${S} dodoc ChangeLog install readme einfo "Installing main files" cp -r . ${D}/${MY_HTDOCSDIR} # touch the config file touch ${D}/${MY_HTDOCSDIR}/config.inc.php webapp_serverowned ${MY_HTDOCSDIR}/config.inc.php webapp_serverowned ${MY_HTDOCSDIR}/chat # add post-installation instructions webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install } pkg_postinst() { einfo "The first stage of the installation is done. Now you need to setup your virtual hosts via webapp-config" einfo "Please read man webapp-config for a detailed description of the process and some examples" webapp_pkg_postinst }