diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2006-06-01 14:50:02 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2006-06-01 14:50:02 +0000 |
commit | 2deafebef53df0cb088cb84e345cc741037a6a43 (patch) | |
tree | 00c8ea487ce9eacae3e215d3217f9ca97267d8bc /www-apps/knowledgetree/knowledgetree-3.0.3.ebuild | |
parent | added description of possible values for use-expanded DVB_CARDS (diff) | |
download | gentoo-2-2deafebef53df0cb088cb84e345cc741037a6a43.tar.gz gentoo-2-2deafebef53df0cb088cb84e345cc741037a6a43.tar.bz2 gentoo-2-2deafebef53df0cb088cb84e345cc741037a6a43.zip |
Version bump to knowledgetree-3.0.3
(Portage version: 2.0.54-r2)
Diffstat (limited to 'www-apps/knowledgetree/knowledgetree-3.0.3.ebuild')
-rw-r--r-- | www-apps/knowledgetree/knowledgetree-3.0.3.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild b/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild new file mode 100644 index 000000000000..1e532ca59375 --- /dev/null +++ b/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/knowledgetree/knowledgetree-3.0.3.ebuild,v 1.1 2006/06/01 14:50:02 wrobel Exp $ + +inherit webapp + +MY_PN=${PN/tree/Tree} +MY_PV=${PV/_/} +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="KnowledgeTree is a document management system providing a content repository, workflow and routing of content, content publication and content metrics definition and analysis." +HOMEPAGE="http://www.ktdms.com/" +SRC_URI="mirror://sourceforge/kt-dms/${MY_P}.tgz" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="office opendoc pdf ps" + +DEPEND="virtual/httpd-php + dev-db/mysql + office? ( >=app-text/catdoc-0.94.1 ) + ps? ( app-text/pstotext ) + pdf? ( app-text/poppler ) + opendoc? ( app-arch/unzip )" + +S=${WORKDIR}/${MY_PN} + +src_install() { + webapp_src_preinst + + local docs="docs/CREDITS.txt + docs/INSTALL.txt + docs/README.txt + docs/TODO.txt + docs/UPGRADE.txt + docs/FAQ.txt + " + + dodoc ${docs} + + ## Main application + cp -r . ${D}${MY_HTDOCSDIR} + + ## Docs installed, remove unnecessary files + for doc in ${docs} + do + rm ${D}${MY_HTDOCSDIR}/${doc} + done + + for CFG in ${MY_HTDOCSDIR}/config/{config.ini,dmsDefaults.php,siteMap.inc,tableMappings.inc} + do + webapp_configfile ${CFG} + done + + ## Documents will be saved here + webapp_serverowned ${MY_HTDOCSDIR}/var/cache + webapp_serverowned ${MY_HTDOCSDIR}/var/log + webapp_serverowned ${MY_HTDOCSDIR}/var/tmp + webapp_serverowned ${MY_HTDOCSDIR}/var/Documents + #webapp_serverowned "${MY_HTDOCSDIR}/var/Documents/Root Folder" + #webapp_serverowned "${MY_HTDOCSDIR}/var/Documents/Root Folder/Default Unit" + + webapp_sqlscript mysql sql/mysql/install/structure.sql + webapp_sqlscript mysql sql/mysql/install/data.sql + webapp_sqlscript postgres sql/pgsql/install/tables.sql + webapp_sqlscript postgres sql/pgsql/install/functions.sql + + webapp_postinst_txt en ${FILESDIR}/postinstall-en-${PV}.txt + webapp_postupgrade_txt en ${FILESDIR}/postupgrade-en-${PV}.txt + + ## Fix for the root folder + webapp_hook_script ${FILESDIR}/config-hook-${PV}.sh + + webapp_src_install +} |