aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot2-antispam-plugin/Makefile
blob: 5e2adbe7c0772439426fd34a3fa70d26825d8852 (plain) (blame)
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
# Created by: Denis Shaposhnikov <dsh@bamus.cz>
# $FreeBSD$

PORTNAME=	dovecot2-antispam-plugin
PORTVERSION=	20130429
PORTREVISION=	9
CATEGORIES=	mail
MASTER_SITES=	http://olgeni.olgeni.com/~olgeni/distfiles/ \
		LOCAL/olgeni
DISTNAME=	dovecot-antispam-plugin-${DISTVERSION}

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Dovecot 2.x plugin for spam systems training

LICENSE=	GPLv2

BUILD_DEPENDS=	dovecot2>=2.2.0:${PORTSDIR}/mail/dovecot2 \
		gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS=	dovecot2>=2.2.0:${PORTSDIR}/mail/dovecot2

CONFLICTS=	dovecot-antispam-1.*
WRKSRC=		${WRKDIR}/dovecot-antispam-plugin-5ebc6aae4d7c

USES=		gmake tar:bzip2
USE_AUTOTOOLS=	aclocal autoheader autoconf
USE_LDCONFIG=	${PREFIX}/lib/dovecot

ACLOCAL_ARGS=	-I m4

PLIST_FILES=	lib/dovecot/lib90_antispam_plugin.so \
		man/man7/dovecot-antispam.7.gz

post-install:
	${FIND} ${STAGEDIR}${PREFIX}/lib/ -name \*.so | ${XARGS} ${STRIP_CMD}

.include <bsd.port.mk>