2009-12-12 10:38:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/12/12 15:38:07 ajacoutot Exp $
|
2006-10-18 21:06:22 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= mailfilter to identify and mark spam
|
2006-10-18 21:06:22 -04:00
|
|
|
|
2009-09-10 08:13:06 -04:00
|
|
|
DISTNAME= mimedefang-2.67
|
2009-12-12 10:38:07 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-11-02 18:40:03 -04:00
|
|
|
CATEGORIES= mail
|
2006-10-18 21:06:22 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.mimedefang.org/
|
2008-10-21 19:28:14 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}static/
|
2006-10-18 21:06:22 -04:00
|
|
|
|
2008-02-05 15:46:21 -05:00
|
|
|
MAINTAINER= Okan Demirmen <okan@openbsd.org>
|
2007-11-02 18:40:03 -04:00
|
|
|
|
2006-10-18 21:06:22 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-02-05 15:46:21 -05:00
|
|
|
|
2007-07-27 17:57:29 -04:00
|
|
|
WANTLIB= c m perl pthread util milter
|
2006-10-18 21:06:22 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= :p5-MIME-tools-*:mail/p5-MIME-tools \
|
2007-07-27 17:57:29 -04:00
|
|
|
:p5-Digest-SHA1-*:security/p5-Digest-SHA1 \
|
2009-09-10 08:13:06 -04:00
|
|
|
:p5-HTML-Parser-*:www/p5-HTML-Parser \
|
|
|
|
:p5-Unix-Syslog-*:sysutils/p5-Unix-Syslog
|
2006-10-18 21:06:22 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --with-user=_mdefang \
|
2009-09-10 08:13:06 -04:00
|
|
|
--disable-anti-virus \
|
|
|
|
--enable-poll
|
2006-10-18 21:06:22 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2007-11-02 18:40:03 -04:00
|
|
|
post-build:
|
2008-10-21 19:28:14 -04:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/rc.mimedefang ${WRKSRC}/rc.mimedefang
|
2007-11-02 18:40:03 -04:00
|
|
|
|
2006-10-18 21:06:22 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mimedefang
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/suggested-minimum-filter-for-windows-clients \
|
|
|
|
${PREFIX}/share/examples/mimedefang/mimedefang-filter
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/SpamAssassin/spamassassin.cf \
|
|
|
|
${PREFIX}/share/examples/mimedefang/sa-mimedefang.cf
|
2007-11-02 18:40:03 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.mimedefang \
|
2006-10-18 21:06:22 -04:00
|
|
|
${PREFIX}/share/examples/mimedefang/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|