openbsd-ports/mail/milter-regex/Makefile

31 lines
743 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/09/16 00:17:05 merdely Exp $
COMMENT= sendmail milter plugin for regular expression filtering
DISTNAME= milter-regex-1.7
PKGNAME= ${DISTNAME}
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
WANTLIB= c pthread milter
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>