summaryrefslogtreecommitdiff
blob: 9613978f8c4e96243dfcd2f39c4f450b89567fe4 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild,v 1.3 2004/09/25 20:30:19 slarti Exp $

DESCRIPTION="clamassassin is a simple script for virus scanning (through clamav) an e-mail message as a
filter (like spamassassin)"
HOMEPAGE="http://drivel.com/clamassassin/"
SRC_URI="http://drivel.com/clamassassin/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~ppc"
IUSE="subject-rewrite"
DEPEND=">=app-antivirus/clamav-0.71
		sys-apps/debianutils
		sys-apps/which
		mail-filter/procmail"

src_compile() {
	econf $(use_enable subject-rewrite) || die
	# Fix problems with Portage exporting TMP and breaking clamassassin. #61806
	sed -i -e "s:${TMP}:/tmp:" clamassassin
}

src_install() {
	dobin clamassassin
	dodoc CHANGELOG LICENSE README
}