# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/popfile/popfile-0.21.1.ebuild,v 1.1 2003/12/25 20:09:22 stuart Exp $ DESCRIPTION="Anti-spam filter" HOMEPAGE="http://foo.bar.com/" SRC_URI="mirror://sourceforge/popfile/popfile-0.20.1.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=dev-lang/perl-5.8 >=dev-perl/BerkeleyDB-0.25 dev-perl/Text-Kakasi dev-perl/MIME-Base64" #RDEPEND="" S=${WORKDIR} src_compile() { # do nothing echo > /dev/null } src_install() { # yes, this is crude, but it's a start dodir /usr/share/popfile tar -cf - * | ( cd ${D}/usr/share/popfile && tar -xf - ) fperms 0755 usr/share/popfile/popfile.pl dodir /usr/share/popfile/corpus dodir /usr/share/popfile/messages } pkg_postinst () { einfo "To start popfile, run /usr/share/popfile/popfile.pl" einfo einfo "A /etc/init.d script will be added once popfile can support" einfo "multiple users" }