openbsd-ports/mail/mimedefang/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.14 2010/11/19 07:23:07 espie Exp $
COMMENT= mailfilter to identify and mark spam
DISTNAME= mimedefang-2.67
2010-11-19 02:23:05 -05:00
REVISION = 0
2007-11-02 18:40:03 -04:00
CATEGORIES= mail
HOMEPAGE= http://www.mimedefang.org/
MASTER_SITES= ${HOMEPAGE}static/
MAINTAINER= Okan Demirmen <okan@openbsd.org>
2007-11-02 18:40:03 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m perl pthread util milter
2010-11-19 02:23:05 -05:00
RUN_DEPENDS= mail/p5-MIME-tools \
security/p5-Digest-SHA1 \
www/p5-HTML-Parser \
sysutils/p5-Unix-Syslog
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-user=_mdefang \
--disable-anti-virus \
--enable-poll
2010-10-18 15:59:15 -04:00
USE_GROFF = Yes
NO_REGRESS= Yes
2007-11-02 18:40:03 -04:00
post-build:
${SUBST_CMD} -c ${FILESDIR}/rc.mimedefang ${WRKSRC}/rc.mimedefang
2007-11-02 18:40:03 -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 \
${PREFIX}/share/examples/mimedefang/
.include <bsd.port.mk>