diff options
author | dhartmei <dhartmei@FreeBSD.org> | 2004-04-07 23:44:50 +0800 |
---|---|---|
committer | dhartmei <dhartmei@FreeBSD.org> | 2004-04-07 23:44:50 +0800 |
commit | 3121a1c0cb2fe6fc79e94da980258a3dc6661a92 (patch) | |
tree | adbb70a1f0699298e5b8b67273c1e938f0bc4588 /mail/milter-regex/Makefile | |
parent | 889d6dbaf8149f89d53f37d70307fa85ecfca1a6 (diff) | |
download | freebsd-ports-gnome-3121a1c0cb2fe6fc79e94da980258a3dc6661a92.tar.gz freebsd-ports-gnome-3121a1c0cb2fe6fc79e94da980258a3dc6661a92.tar.zst freebsd-ports-gnome-3121a1c0cb2fe6fc79e94da980258a3dc6661a92.zip |
Update to 1.5
Diffstat (limited to 'mail/milter-regex/Makefile')
-rw-r--r-- | mail/milter-regex/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index 7193fcfb6efe..0e73bdaa282b 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -7,7 +7,7 @@ # PORTNAME= milter_regex -PORTVERSION= 0.8 +PORTVERSION= 1.5 CATEGORIES= mail MASTER_SITES= http://www.benzedrine.cx/ DISTNAME= milter-regex-${PORTVERSION} @@ -15,6 +15,8 @@ DISTNAME= milter-regex-${PORTVERSION} MAINTAINER= dhartmei@FreeBSD.org COMMENT= Milter plugin to sendmail for regular expression filtering +USE_REINPLACE= yes +MAILUSER?= mailnull MAN8= milter-regex.8 PLIST_FILES= libexec/milter-regex @@ -25,10 +27,15 @@ pre-everything:: .endif post-patch: - @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig - @${SED} -e "s:-lpthread:${PTHREAD_LIBS}:g; \ - s:-I/usr/src/gnu/usr.sbin/sendmail/include:${PTHREAD_CFLAGS}:g; \ - s/-Werror//g" < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + "s:/etc/milter-regex.conf:/usr/local/etc/milter-regex.conf:g; \ + s:_milter-regex:${MAILUSER}:g;" ${WRKSRC}/milter-regex.c + @${REINPLACE_CMD} -e \ + "s:/etc/milter-regex.conf:/usr/local/etc/milter-regex.conf:g; \ + s:mailstats 1:mailstats 8:;" ${WRKSRC}/milter-regex.8 + @${REINPLACE_CMD} -e "s:-lpthread:${PTHREAD_LIBS}:g; \ + s:-I/usr/src/gnu/usr.sbin/sendmail/include:${PTHREAD_CFLAGS}:g; \ + s/-Werror//g" ${WRKSRC}/Makefile do-install: @${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${PREFIX}/libexec |