# Copyright 2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit webapp DESCRIPTION="The Bookmark Server for Personal and Team Use" HOMEPAGE="http://www.sitebar.org/" SRC_URI="mirror://sourceforge/${PN}/SiteBar-${PV}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND=">=net-www/apache-1.3 >=dev-db/mysql-3.21 >=dev-php/mod_php-4.1.0" S=${WORKDIR}/SiteBar-${PV} src_install() { webapp_src_preinst # This has to be done until Bug#53215 is fixed mv "skins/Mozilla Modern" skins/MozillaModern webapp_sqlscript mysql sql/install.sql dodoc doc/* # Copy the app's main files # add the post-installation instructions #webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt einfo "Installing main files" cp -r . ${D}${MY_HTDOCSDIR} # the inc directory will later hold the config # file so we need to be able to write to it webapp_serverowned ${MY_HTDOCSDIR}/inc # install it webapp_src_install }