aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rbl-milter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/rbl-milter/Makefile')
-rw-r--r--mail/rbl-milter/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/mail/rbl-milter/Makefile b/mail/rbl-milter/Makefile
new file mode 100644
index 000000000000..f59fd883fbad
--- /dev/null
+++ b/mail/rbl-milter/Makefile
@@ -0,0 +1,35 @@
+# 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>