aboutsummaryrefslogtreecommitdiff
path: root/mail/sccmilter/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-29 13:59:35 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-29 13:59:35 +0000
commit1bc1fe66e454b556b80d6d36338d71b71ee4b8c4 (patch)
tree9a20c4ab301702d158bbd965c113d6c93903be5c /mail/sccmilter/Makefile
parent656d57159fbf2958391a217899de07273af8e602 (diff)
downloadports-1bc1fe66e454b556b80d6d36338d71b71ee4b8c4.tar.gz
ports-1bc1fe66e454b556b80d6d36338d71b71ee4b8c4.zip
New port: mail/sccmilter, a spam control and canceling sendmail
milter-API filter PR: 54847 Submitted by: Rashid N. Achilov <shelton@sentry.granch.ru> Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=85858
Diffstat (limited to 'mail/sccmilter/Makefile')
-rw-r--r--mail/sccmilter/Makefile65
1 files changed, 65 insertions, 0 deletions
diff --git a/mail/sccmilter/Makefile b/mail/sccmilter/Makefile
new file mode 100644
index 000000000000..afa363f9c936
--- /dev/null
+++ b/mail/sccmilter/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: sccmilter
+# Date created: 25 Jul 2003
+# Whom: Rashid N. Achilov <shelton@granch.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sccmilter
+PORTVERSION= 0.92.2
+PORTREVISION=
+CATEGORIES= mail sysutils
+MASTER_SITES= ftp://granch.ru/pub/kavmilter/
+
+MAINTAINER= shelton@granch.ru
+COMMENT= Sendmail spam control and canceling filter, based on Milter API
+
+.if !exists(/usr/lib/libmilter.a)
+IGNORE= requires Sendmail 8.12; upgrade the base system
+.endif
+
+USE_BZIP2= yes
+USE_GETOPT_LONG=yes
+USE_REINPLACE= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --localstatedir=/var
+
+MAN5= sccmilter.conf.5 scchosts.5 sccusers.5
+MAN8= sccmilter.8
+
+CPPFLAGS= ${PTHREAD_CFLAGS}
+LDFLAGS= ${PTHREAD_LIBS}
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --with-debug
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "For debugging information support you should specify"
+ @${ECHO_MSG} " WITH_DEBUG=yes (press Ctrl-C here and start make WITH_DEBUG=yes)"
+ @${ECHO_MSG} ""
+ @sleep 2
+
+post-install:
+ ${STRIP_CMD} ${PREFIX}/libexec/sccmilter
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in README CHANGES FAQ
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+ @${CAT} ${PKGMESSAGE}
+
+post-deinstall:
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Do not forget delete filter description from /etc/mail/freebsd.mc"
+ @${ECHO_MSG} "and rebuild sendmail.cf file!"
+ @${ECHO_MSG} ""
+
+.include <bsd.port.mk>