summaryrefslogtreecommitdiff
blob: 9f436fd7ad2b84416f93f19c259891c2ad5281d9 (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
39
40
# Copyright 1999-2005 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.1.ebuild,v 1.1 2005/07/04 01:54:04 rl03 Exp $

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

IUSE=""

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

KEYWORDS="~x86 ~ppc ~sparc"

RDEPEND=">=net-www/apache-1.3
		>=virtual/php-4.2.1
		>=dev-db/mysql-4"
DEPEND="app-arch/unzip
		sys-apps/sed"

LICENSE="MPL-1.1"

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

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

	local file
	for file in files include lang smileys themes; do
		webapp_serverowned ${MY_HTDOCSDIR}/${file}
	done
	webapp_serverowned ${MY_HTDOCSDIR}

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