aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-rblchk/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-07-13 19:17:30 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-07-13 19:17:30 +0000
commit2c070fe049102c28ce82f4b0cf26aa198c6bbf4d (patch)
tree2da8af17ffffee219f14ecd6a1e3d8040b6be2aa /mail/qmail-rblchk/Makefile
parent2881484ded82e964fe631d803665d3c8f6708fff (diff)
downloadports-2c070fe049102c28ce82f4b0cf26aa198c6bbf4d.tar.gz
ports-2c070fe049102c28ce82f4b0cf26aa198c6bbf4d.zip
A fast rbl lookup implementation for qmail, typically used as part of .qmail
command processing. It has the same function as rblsmtpd, but the messages are checked at local delivery time. PR: ports/82488 Submitted by: Emanuel Haupt <ehaupt@critical.ch> Approved by: flz (mentor)
Notes
Notes: svn path=/head/; revision=139109
Diffstat (limited to 'mail/qmail-rblchk/Makefile')
-rw-r--r--mail/qmail-rblchk/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/qmail-rblchk/Makefile b/mail/qmail-rblchk/Makefile
new file mode 100644
index 000000000000..2c5c54f120af
--- /dev/null
+++ b/mail/qmail-rblchk/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: qmail-rblchk
+# Date created: 21 Jun 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qmail-rblchk
+DISTVERSION= 2.1
+CATEGORIES= mail
+MASTER_SITES= http://morettoni.net/qmail/
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A qmail RBL filter
+
+RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+
+LDFLAGS?= -s
+CFLAGS?= -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
+ -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+QMAIL_DIR?= /var/qmail
+
+ALL_TARGET= default
+INSTALL_TARGET= setup
+
+USE_REINPLACE= yes
+
+PLIST_FILES= bin/qmail-rblchk
+
+post-patch:
+ @${REINPLACE_CMD} 's|02755|0755|g' ${WRKSRC}/hier.c ${WRKSRC}/generic-conf.c
+
+do-configure:
+ ${PRINTF} "${PREFIX}\n\n.../bin.\n" > ${WRKSRC}/conf-home
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
+
+.include <bsd.port.mk>