aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rbl-milter/Makefile
blob: a4fb61c9d968d2c3a72f3abab8eaae81a3199e99 (plain) (blame)
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
# Created by: wolpert
# $FreeBSD$

PORTNAME=   rbl-milter
PORTVERSION=    0.30
PORTREVISION=   3
CATEGORIES= mail
MASTER_SITES=   http://opensource.confusticate.com/rbl-milter/

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    A milter that adds mail header warnings on mail from open-relays

USES=       gmake
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"

USE_RC_SUBR=    rblmilter
PLIST_FILES=    sbin/rbl-milter

.if defined(NO_WERROR)
pre-configure:
    ${REINPLACE_CMD} -e 's!-Werror!!' ${WRKSRC}/configure
.endif

.include <bsd.port.pre.mk>

.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"

CONFIGURE_ARGS+=    --with-sendmail=${MILTERBASE} \
            --with-sendmail-obj=${MILTERBASE}/lib

.include <bsd.port.post.mk>