2019-11-02 17:25:17 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2019/11/02 16:25:22 rillig Exp $
|
2003-09-22 16:33:35 +02:00
|
|
|
|
|
|
|
DISTNAME= jchkmail-1.3.1a
|
2010-02-11 20:53:03 +01:00
|
|
|
PKGREVISION= 2
|
2003-09-22 16:33:35 +02:00
|
|
|
CATEGORIES= mail
|
2017-09-24 16:30:36 +02:00
|
|
|
# old site, dead
|
|
|
|
#MASTER_SITES= http://j-chkmail.ensmp.fr/download/
|
|
|
|
# new site, only has 2.6.1 or newer
|
|
|
|
#MASTER_SITES= http://foss.jose-marcio.org/download/
|
2003-09-22 16:33:35 +02:00
|
|
|
|
2009-03-22 05:53:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-09-24 16:30:36 +02:00
|
|
|
HOMEPAGE= http://foss.jose-marcio.org/wiki/doku.php
|
2003-09-22 16:33:35 +02:00
|
|
|
COMMENT= Behavior-based virus and spam milter for Sendmail
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2006-04-11 13:12:20 +02:00
|
|
|
CONFIGURE_ARGS+= --with-rc-dir=${PREFIX}/share/examples/rc.d \
|
|
|
|
--with-conf-dir=${PKG_SYSCONFDIR:Q}
|
|
|
|
|
2019-11-02 17:25:17 +01:00
|
|
|
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
|
2007-09-04 22:40:43 +02:00
|
|
|
RCD_SCRIPT_SRC.jchkmail= ${WRKSRC}/bin/jchkmail.init
|
2003-09-22 16:33:35 +02:00
|
|
|
|
2006-01-08 17:26:22 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= share/examples/rc.d
|
|
|
|
|
2010-02-11 20:53:03 +01:00
|
|
|
OWN_DIRS_PERMS+= /var/spool/jchkmail smmsp smmsp 750 \
|
|
|
|
/var/jchkmail smmsp smmsp 755
|
|
|
|
|
2004-05-09 23:14:42 +02:00
|
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-09-22 16:33:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|