openbsd-ports/mail/milter-regex/Makefile
rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

34 lines
817 B
Makefile

# $OpenBSD: Makefile,v 1.30 2018/01/11 19:27:03 rpe Exp $
COMMENT= sendmail milter plugin for regular expression filtering
DISTNAME= milter-regex-1.9
REVISION= 3
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.ch/
HOMEPAGE= http://www.benzedrine.ch/milter-regex.html
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c pthread milter
LIB_DEPENDS= mail/sendmail,-libmilter
MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_TEST= 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>