# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/tikiwiki/tikiwiki-1.8.2.ebuild,v 1.2 2004/04/17 21:54:42 weeve Exp $ inherit webapp DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates" HOMEPAGE="http://tikiwiki.org/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" RESTRICT="nomirror" LICENSE="LGPL-2.1" KEYWORDS="~x86 ~ppc ~sparc" RDEPEND="virtual/php media-gfx/graphviz" src_install() { mkdir -p ${S}/var/log/irc webapp_src_preinst einfo "Installing tikiwiki files." cp -r . ${D}${MY_HTDOCSDIR} dodoc ${S}/doc/readme.txt local server_owned="backups db dump img/wiki img/wiki_up modules/cache temp templates templates_c styles lib/Galaxia/processes var var/log var/log/irc" for file in ${server_owned}; do webapp_serverowned ${MY_HTDOCSDIR}/${file} done for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do webapp_runbycgibin php ${MY_HTDOCSDIR}/$x done webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install }