summaryrefslogtreecommitdiff
path: root/mail/dovecot2-antispam-plugin/Makefile
blob: ff230f1c608b574ded866759560e04e0c2833fa9 (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
# $NetBSD: Makefile,v 1.3 2015/08/23 14:30:38 wiz Exp $

DISTNAME=		dovecot-antispam-plugin-20130429
PKGREVISION=		2
CATEGORIES=		mail
MASTER_SITES=		http://olgeni.olgeni.com/~olgeni/distfiles/ \
			http://distcache.FreeBSD.org/local-distfiles/olgeni/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://hg.dovecot.org/dovecot-antispam-plugin/
COMMENT=		Dovecot 2.x plugin for training antispam systems
LICENSE=		gnu-gpl-v2

WRKSRC=			${WRKDIR}/dovecot-antispam-plugin-5ebc6aae4d7c

USE_TOOLS+=		aclocal autoheader automake autoconf gmake gawk gsed
AUTOCONF_REQD=		2.54
GNU_CONFIGURE=		yes

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
SUFX=			bundle
.else
SUFX=			so
.endif

PLIST_SUBST+=		SUFX=${SUFX:Q}

pre-configure:
	cd ${WRKSRC} && aclocal -I m4 && autoheader && autoconf

.include "../../mail/dovecot2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"