# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/net-mail/spamassassin/spamassassin-2.20.ebuild,v 1.1 2002/05/21 20:33:11 g2boojum Exp $ MY_P="Mail-SpamAssassin-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="A spam filter written in Perl" SRC_URI="http://spamassassin.org/released/${MY_P}.tar.gz" HOMEPAGE="http://spamassassin.org" LICENSE="GPL-2 | Artistic" SLOT="0" DEPEND=">=sys-devel/perl-5.6.1-r3 dev-perl/Net-DNS" src_compile() { perl Makefile.PL emake || die } src_install () { make PREFIX=${D}/usr INSTALLMAN1DIR=${D}/usr/share/man/man1 \ LOCAL_RULES_DIR=${D}/etc/mail/spamassassin \ INSTALLMAN3DIR=${D}/usr/share/man/man3 install || die dodoc Changes MANIFEST README TODO License dodoc procmailrc.example sample-nonspam.txt sample-spam.txt }