summaryrefslogtreecommitdiff
blob: 7e6d16ae3b86993232aa52501f8f5b27e37cf5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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
}