2011-06-23 18:50:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2011/06/23 22:50:27 naddy Exp $
|
2004-11-17 06:00:01 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= sendmail milter to scan messages for viruses and spam
|
2004-11-17 06:00:01 -05:00
|
|
|
|
2007-01-21 08:13:04 -05:00
|
|
|
DISTNAME= smtp-vilter-1.3.6
|
2011-06-23 18:50:26 -04:00
|
|
|
REVISION= 13
|
2004-11-17 06:00:01 -05:00
|
|
|
|
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.etc.msys.ch/software/smtp-vilter/
|
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-10-29 07:59:22 -04:00
|
|
|
|
|
|
|
WANTLIB += c m pthread milter
|
2004-11-17 06:00:01 -05:00
|
|
|
|
2009-08-30 16:45:23 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2004-11-17 06:00:01 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2007-01-14 05:11:51 -05:00
|
|
|
FLAVORS= ldap
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mldap}
|
|
|
|
MAKE_FLAGS+= -DENABLE_LDAP
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS+= databases/openldap
|
2010-10-29 07:59:22 -04:00
|
|
|
WANTLIB += ldap_r lber
|
2007-01-14 05:11:51 -05:00
|
|
|
.endif
|
|
|
|
|
2011-06-23 18:50:26 -04:00
|
|
|
FAKE_FLAGS= BINDIR=${PREFIX}/sbin \
|
|
|
|
LIBDIR=${PREFIX}/lib/smtp-vilter \
|
|
|
|
MANDIR=${PREFIX}/man/man \
|
|
|
|
SPATH=${PREFIX}/share/examples/smtp-vilter
|
|
|
|
|
2010-10-29 07:59:22 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/etc/smtp-vilter/smtp-vilter.conf
|
|
|
|
|
2004-11-17 06:00:01 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
|
|
|
|
cp -r ${WRKSRC}/etc/smtp-vilter ${PREFIX}/share/examples/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|