# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp DESCRIPTION="Message forums, mailing lists, tools to create and control access to Source Code Management repositories like CVS and Subversion" HOMEPAGE="http://gforge.org/" SRC_URI="http://gforce.org/frs/download.php/85/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~x86" RDEPEND="virtual/php >=dev-db/postgresql-7.3 >=net-www/apache-1.2 accelerator? ( dev-php/php-accelerator ) mailman? ( net-mail/mailman ) python? ( dev-lang/python ) jabber? ( net-im/jabberd ) jpgraph? ( dev-php/jpgraph ) perl? ( dev-lang/perl dev-perl/DBI )" IUSE="accelerator mailman python jabber jpgraph perl" src_install() { ewarn "php must have been compiled with postgresql support" ewarn "if you're using Gantt charting, php must have been compiled with gd support" webapp_src_preinst dodoc ${S}/docs/* rm -rf ${S}/docs/ insinto /etc/ doins ${S}/etc/* rm -rf ${S}/etc/ cp -a * "${D}/${MY_HTDOCSDIR}" webapp_src_install }