# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/filewatcher/filewatcher-2.4.3.ebuild,v 1.1 2006/02/20 20:13:54 vanquirius Exp $ DESCRIPTION="This is a configuration file control system and IDS" HOMEPAGE="http://www.willingminds.com/resources/filewatcher.html" SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" DEPEND="dev-perl/MailTools app-text/rcs virtual/mta" DOCS="COPYING Changes README" src_install() { keepdir /var/lib/filewatcher /var/lib/filewatcher/archive dosbin filewatcher || die "could not install filewatcher" doman filewatcher.1 || die "could not install filewatcher manpage" insinto /etc doins "${FILESDIR}"/filewatcher.conf || \ die "could not install basic filewatcher config" } pkg_postinst() { einfo " A basic configuration has been provided in" einfo " /etc/filewatcher.conf. It is strongly" einfo " recommended that you invoke filewatcher via" einfo " crontab." echo einfo " 55,25,40 * * * * root /usr/sbin/filewatcher" einfo " --config=/etc/filewatcher.conf" }