summaryrefslogtreecommitdiff
blob: 6dd5e8f2f22d9588289d165350273485578342c2 (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
41
42
43
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit webapp

DESCRIPTION="DeluxeBB is Open Source forum package"
HOMEPAGE="http://www.deluxebb.com/"
SRC_URI="http://www.deluxebb.com/download/${PN}1_09.zip"

LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND="app-arch/unzip"

RDEPEND="virtual/httpd-php"

S="${WORKDIR}"

src_install() {
	webapp_src_preinst

	local files="settings/info.php logs/cp.php"

	dodoc docs/changelog.txt docs/install.txt docs/license.txt docs/upgrade.txt

	cp -pPR * "${D}/${MY_HTDOCSDIR}"

	rm -rf ${D}/${MY_HTDOCSDIR}/docs

	for file in ${files}; do

	webapp_serverowned "${MY_HTDOCSDIR}/${file}"

	done

	webapp_configfile ${MY_HTDOCSDIR}/settings/info.php

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

	webapp_src_install

}