summaryrefslogtreecommitdiff
blob: 87627b68b678541a0428a5e16f26a7bf5cc8b0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/bugs-bug-genie/bugs-bug-genie-1.7.2.ebuild,v 1.1 2006/02/06 15:05:54 rl03 Exp $

inherit webapp
S=${WORKDIR}/bugs_${PV}

IUSE="mysql"

DESCRIPTION="BUGS - The Bug Genie"
HOMEPAGE="http://bugs-bug-genie.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/BUGS_${PV}.zip"

KEYWORDS="~x86 ~ppc ~sparc"

DEPEND="app-arch/unzip"
RDEPEND=">=net-www/apache-1.3
		virtual/php
		mysql? ( >=dev-db/mysql-4 )"

LICENSE="MPL-1.1"

src_install() {
	webapp_src_preinst
	dodoc DISCLAIMER.TXT UPGRADE.TXT README.TXT doc/changelog*

	cp -R LICENSE.TXT [[:lower:]][[:lower:]]* ${D}/${MY_HTDOCSDIR}

	local files="include/userbase_connect.inc.php files include lang smileys
		themes"
	for a in files; do
		webapp_serverowned ${MY_HTDOCSDIR}/${a}
	done
	webapp_serverowned ${MY_HTDOCSDIR}

	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
	webapp_src_install
}