freebsd-ports/mail/rbl-milter/Makefile
Dirk Meyer 47051d970c This is a simple sendmail milter which adds an X-RBL-Warning header to
any emails that are received that come from an open relay as
determined by your choice of RBL checking service (i.e. bl.spamcop.net).

This is useful if you'd rather have the mail user agent (MUA) deal with
potential spam rather than just blocking it in case you loose
legitimate messages.  Note that the X-RBL-Warning header is only set if
the site was found to be an open-relay.

For more information, see the rbl-milter website at:
  WWW: http://opensource.confusticate.com/rbl-milter/
RBL-Milter was created by Jeremy Beker <gothmog@confusticate.com> and
the port is maintained by Ned Wolpert <wolpert@codeheadsystems.com>

PR:		45605
Submitted by:	wolpert@codeheadsystems.com
2003-04-07 19:09:33 +00:00

36 lines
879 B
Makefile

# New ports collection makefile for: rbl-milter
# Date created: 15 November 2002
# Whom: wolpert
#
# $FreeBSD$
#
PORTNAME= rbl-milter
PORTVERSION= 0.30
CATEGORIES= mail
MASTER_SITES= http://opensource.confusticate.com/rbl-milter/
MAINTAINER= wolpert@codeheadsystems.com
COMMENT= A milter that adds mail header warnings on mail from open-relays
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-sendmail=/usr \
--with-sendmail-obj=/usr/lib
.if defined(NO_WERROR)
pre-configure:
@${CP} ${WRKSRC}/configure ${WRKSRC}/configure.sed
@${SED} 's!-Werror!!' ${WRKSRC}/configure.sed >${WRKSRC}/configure
.endif
post-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' \
${FILESDIR}/rbl-milter.sh.in > ${WRKDIR}/rbl-milter.sh
${INSTALL_SCRIPT} ${WRKDIR}/rbl-milter.sh \
${PREFIX}/etc/rc.d/rbl-milter.sh
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>