blob: 59cdb11df46c1494830306d02c06090d2315de7b (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools
DESCRIPTION="A dovecot antispam plugin supporting multiple backends"
HOMEPAGE="http://wiki2.dovecot.org/Plugins/Antispam/"
SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
RDEPEND=">=net-mail/dovecot-2.1.16"
DEPEND="${RDEPEND}
app-text/txt2man"
DOCS=( README )
src_prepare() {
# use system txt2man
rm doc/txt2man || die
sed -i 's#./txt2man#txt2man#' doc/Makefile || die
AT_M4DIR="m4" eautoreconf
}
pkg_postinst() {
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog
elog "You will need to install mail-filter/dspam or app-text/crm114"
elog "if you want to use the related backends in dovecot-antispam."
elog
fi
}
|