ad9e816cd5
note: local socket changed to /var/spool/milter-regex/spool, adjust sendmail.cf/.mc accordingly when updating: -`S=unix:/var/spool/milter-regex, T=S:30s;R:2m' +`S=unix:/var/spool/milter-regex/sock, T=S:30s;R:2m'
33 lines
798 B
Makefile
33 lines
798 B
Makefile
# $OpenBSD: Makefile,v 1.5 2004/01/07 14:57:34 dhartmei Exp $
|
|
|
|
.if !exists(/usr/lib/libmilter.a)
|
|
IGNORE="Fatal: milter required, see instructions in DESCR"
|
|
.endif
|
|
|
|
COMMENT= "sendmail milter plugin for regular expression filtering"
|
|
|
|
DISTNAME= milter-regex-0.9
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.benzedrine.cx/
|
|
|
|
HOMEPAGE= http://www.benzedrine.cx/milter-regex.html
|
|
|
|
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-configure:
|
|
@perl -pi -e 's,/etc/mi,${SYSCONFDIR}/mi,g' ${WRKSRC}/milter-regex.{8,c}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/milter-regex.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|