diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-24 03:20:58 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-24 03:20:58 +0800 |
commit | cadaa0edb276152b31ae0be6ee991ac835869ca1 (patch) | |
tree | c6310fc84a4852dc4d62135c8cde3da80f223ba2 /mail/mimedefang/Makefile | |
parent | e3767e8abf9111d2c323dc34dcd041846d36dd7f (diff) | |
download | freebsd-ports-gnome-cadaa0edb276152b31ae0be6ee991ac835869ca1.tar.gz freebsd-ports-gnome-cadaa0edb276152b31ae0be6ee991ac835869ca1.tar.zst freebsd-ports-gnome-cadaa0edb276152b31ae0be6ee991ac835869ca1.zip |
add mimedefang 2.11
Milter based anti-spam and anti-virus filtering program
PR: 38077
Submitted by: Andrey V. Pevnev <andrey@mgul.ac.ru>
Diffstat (limited to 'mail/mimedefang/Makefile')
-rw-r--r-- | mail/mimedefang/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile new file mode 100644 index 000000000000..dff8002f72be --- /dev/null +++ b/mail/mimedefang/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: mimedefang +# Date created: 13 May 2002 +# Whom: Andrey V. Pevnev <andrey@mgul.ac.ru> +# +# $FreeBSD$ +# + +PORTNAME= mimedefang +PORTVERSION= 2.11 +CATEGORIES= mail +MASTER_SITES= http://www.roaringpenguin.com/mimedefang/ + +MAINTAINER= andrey@mgul.ac.ru + +BUILD_DEPENDS= \ + ${PERL_SITELIBDIR}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ + ${PERL_SITELIBDIR}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools \ + ${PERL_SITELIBDIR}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ + ${PERL_SITELIBDIR}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \ + ${PERL_SITELIBDIR}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ + ${PERL_SITELIBDIR}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin + +USE_PERL5= yes +PERL_SITELIBDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +GNU_CONFIGURE= yes + +MAN5= mimedefang-filter.5 +MAN7= mimedefang-protocol.7 +MAN8= mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8 + +.if !exists( /usr/include/libmilter/mfapi.h ) +IGNORE= "requires libmilter installed in the base system, upgrade your FreeBSD" +.endif + +post-install: + ${INSTALL} -m 755 ${FILESDIR}/mimedefang.sh ${PREFIX}/etc/rc.d/mimedefang.sh +.if !defined(NOPORTDOCS) + ${MKDIR} ${EXAMPLESDIR} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR} +.endif + ${CHOWN} mailnull:mailnull /var/spool/MIMEDefang + ${CHMOD} 700 /var/spool/MIMEDefang + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |