# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit webapp eutils depend.php DESCRIPTION="SmartSieve is a web based graphical user interface for creating and managing sieve scripts for mail filtering and vacation messaging on a cyrus imap mail server. Written in PHP, SmartSieve is easy to configure and use." HOMEPAGE="http://smartsieve.sourceforge.net/" MY_P_FILE="${PN}-1.0-RC2" MY_P_DIR="${PN}-1.0-rc2" SRC_URI="mirror://sourceforge/${PN}/${MY_P_FILE}.tar.gz" DEPEND="dev-lang/php" RDEPEND="${DEPEND}" LICENSE="GPL" KEYWORDS="~x86" pkg_setup () { require_php_with_use imap webapp_pkg_setup } src_install () { webapp_src_preinst echo cp -r ${WORKDIR}/${MY_P_DIR}/* ${D}/${MY_HTDOCSDIR} || die cp -r ${WORKDIR}/${MY_P_DIR}/* ${D}/${MY_HTDOCSDIR} || die webapp_src_install }