# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit zproduct DESCRIPTION="SchoolBell is a calendar management system for small organizations." HOMEPAGE="http://www.schooltool.org/products/schoolbell/" SRC_URI="ftp://ftp.schooltool.org/pub/schoolbell/releases/1_2_4/schoolbell-1.2.4.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND=">net-zope/zope-3 >=dev-lang/python-2.3 dev-libs/libxml2" RDEPEND="pdf? (dev-python/reportlab)" IUSE="pdf" ZPROD_LIST="schoolbell" S=${WORKDIR}/${PF} src_install() { zproduct_src_install dosym ${ZP_DIR}/${P} ${ZP_DIR}/${PN} newinitd "${FILESDIR}/schoolbell.initd" schoolbell insinto /etc newins "${FILESDIR}/schoolbell-1.2.3.gentoo.conf" schoolbell.conf # create the log-dir insinto /var/log/schoolbell } pkg_postinst() { zproduct_pkg_postinst ewarn "Please read the Docs and change the default admin password !" ewarn "SchoolBell can be started as a daemon using /etc/init.d/schoolbell" ewarn "and has to be configured using /etc/schoolbell.conf in this case." if use pdf; then ewarn "To enable PDF support you will need to specify the path to fonts in the configuration file." fi }