summaryrefslogtreecommitdiff
blob: 6fda59e3f13de6b8d4406fa1fab9e24d83e45f7e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/spamass-milter/spamass-milter-0.2.0.ebuild,v 1.1 2003/07/16 22:03:20 raker Exp $

IUSE=""

DESCRIPTION="A Sendmail milter for SpamAssassin"
HOMEPAGE="http://savannah.nongnu.org/projects/spamass-milt/"
SRC_URI="http://savannah.nongnu.org/download/spamass-milt/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~sparc"

DEPEND=">=sys-devel/autoconf-2.57
	>=sys-devel/automake-1.7.2"
RDEPEND=">=net-mail/sendmail-8.12.9
	>=dev-perl/Mail-SpamAssassin-2.53"

S=${WORKDIR}/${P}

src_compile() {
    econf || die
    emake || die
}

src_install() {
    make DESTDIR=${D} install || die

    dodoc AUTHORS NEWS README ChangeLog ${FILESDIR}/README.gentoo

    exeinto /etc/init.d ; newexe ${FILESDIR}/spamass-milter.rc spamass-milter
    insinto /etc/conf.d ; newins ${FILESDIR}/spamass-milter.conf spamass-milter
}

pkg_postinst() {
	einfo ""
	einfo "less /usr/share/doc/spamass-milter-0.2.0/README.gentoo.gz"
	einfo "Very concise and simple install instructions. :)"
	einfo ""
}