blob: 8c53763430c5ead48a6e44c2a3b6ba5b25997155 (
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
44
45
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp
DESCRIPTION="KnowledgeTree is an Open Source document management system. The product provides a content repository, workflow and routing of content, content publication and content metrics definition and analysis."
HOMEPAGE="http://knowledgetree.sourceforge.net"
SRC_URI="mirror://sourceforge/kt-dms/${P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
IUSE=""
DEPEND="virtual/php"
S=${WORKDIR}/${PN}
src_install() {
webapp_src_preinst
local docs="docs/COPYING docs/CREDITS.txt docs/ChangeLog.txt docs/INSTALL.txt docs/README.txt docs/TODO.txt docs/codingStandards.txt docs/faq.txt docs/i18n.txt"
dodoc ${docs}
rm -rf docs
einfo "Installing main files"
cp -r . ${D}${MY_HTDOCSDIR}
for CFG in ${MY_HTDOCSDIR}/config/{browsers.inc,dmsDefaults.php,environment.php,siteMap.inc,tableMappings.inc}
do
webapp_configfile ${CFG}
done
webapp_serverowned ${MY_HTDOCSDIR}/log
webapp_serverowned ${MY_HTDOCSDIR}/Documents
webapp_serverowned ${MY_HTDOCSDIR}/Documents/Root\ Folder
webapp_serverowned ${MY_HTDOCSDIR}/Documents/Root\ Folder/Default\ Unit
webapp_sql_script mysql ${MY_HTDOCSDIR}/sql/mysql/install/tables.sql
webapp_hook_script ${FILESDIR}/config-hook.sh
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
webapp_src_install
}
|