# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-apps/dotproject/dotproject-2.1.ebuild,v 1.2 2007/10/16 19:31:17 wrobel Exp $ inherit webapp depend.php DESCRIPTION="dotProject is a PHP web-based project management framework" HOMEPAGE="http://www.dotproject.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~ppc ~sparc ~x86" S=${WORKDIR}/${PN} LICENSE="GPL-2" need_php RDEPEND="app-text/poppler" src_install () { webapp_src_preinst dodoc ChangeLog README mv includes/config-dist.php includes/config.php cp -R * "${D}${MY_HTDOCSDIR}" webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php webapp_serverowned "${MY_HTDOCSDIR}"/files webapp_serverowned "${MY_HTDOCSDIR}"/files/temp webapp_serverowned "${MY_HTDOCSDIR}"/locales/en webapp_postinst_txt en "${FILESDIR}"/install-en.txt webapp_src_install }