summaryrefslogtreecommitdiff
path: root/mail/jchkmail/Makefile
blob: 016bf0947c4bafb461c938a3611523c576c50e52 (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
# $NetBSD: Makefile,v 1.11 2007/09/04 20:40:43 joerg Exp $
#

DISTNAME=		jchkmail-1.3.1a
PKGREVISION=		1
CATEGORIES=		mail
MASTER_SITES=		http://j-chkmail.ensmp.fr/download/

MAINTAINER=		manu@NetBSD.org
HOMEPAGE=		http://j-chkmail.ensmp.fr/
COMMENT=		Behavior-based virus and spam milter for Sendmail

USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--with-rc-dir=${PREFIX}/share/examples/rc.d	\
			--with-conf-dir=${PKG_SYSCONFDIR:Q}

EGDIR=			${PREFIX}/share/examples/jchkmail
PKG_SYSCONFSUBDIR=	jchkmail
CONF_FILES+=		${EGDIR}/j-chkmail.cf ${PKG_SYSCONFDIR}/j-chkmail.cf
CONF_FILES+=		${EGDIR}/j-local-users ${PKG_SYSCONFDIR}/j-local-users
CONF_FILES+=		${EGDIR}/j-error-msg ${PKG_SYSCONFDIR}/j-error-msg
CONF_FILES+=		${EGDIR}/j-nets ${PKG_SYSCONFDIR}/j-nets
CONF_FILES+=		${EGDIR}/j-host-access ${PKG_SYSCONFDIR}/j-host-access
CONF_FILES+=		${EGDIR}/j-user-access ${PKG_SYSCONFDIR}/j-user-access
CONF_FILES+=		${EGDIR}/j-regex ${PKG_SYSCONFDIR}/j-regex
RCD_SCRIPTS=		jchkmail
RCD_SCRIPT_SRC.jchkmail=	${WRKSRC}/bin/jchkmail.init

PTHREAD_AUTO_VARS=	yes

INSTALLATION_DIRS=	share/examples/rc.d

.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"