diff options
author | dinoex <dinoex@FreeBSD.org> | 2007-01-13 12:22:51 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2007-01-13 12:22:51 +0800 |
commit | abcfca4ca701280426c876cbba88781be48097ae (patch) | |
tree | 639dbd7285b8a5f717fec79333d390b2ef5c5ea1 /mail/milter-regex/Makefile | |
parent | 39703ae41786868784e04b282862fc0866f2d7d7 (diff) | |
download | freebsd-ports-gnome-abcfca4ca701280426c876cbba88781be48097ae.tar.gz freebsd-ports-gnome-abcfca4ca701280426c876cbba88781be48097ae.tar.zst freebsd-ports-gnome-abcfca4ca701280426c876cbba88781be48097ae.zip |
- use milter framework
Diffstat (limited to 'mail/milter-regex/Makefile')
-rw-r--r-- | mail/milter-regex/Makefile | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index cd746468322c..c5bb664e7101 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -10,7 +10,6 @@ PORTNAME= milter-regex PORTVERSION= 1.6 CATEGORIES= mail MASTER_SITES= http://www.benzedrine.cx/ -DISTNAME= milter-regex-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Milter plugin to sendmail for regular expression filtering @@ -19,29 +18,13 @@ DIST_SUBDIR= repacked MAILUSER?= mailnull MAN8= milter-regex.8 PLIST_FILES= libexec/milter-regex -MAKE_ENV+= LDFLAGS="${LDFLAGS}" USE_RC_SUBR= milterregex.sh SPOOLDIR?= /var/run/milter-regex SUB_LIST= SPOOLDIR=${SPOOLDIR} .include <bsd.port.pre.mk> -.if defined(SENDMAIL_MILTER_PORT) -.if defined(SENDMAIL_WITH_SHARED_MILTER) -LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT} -.else -BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT} -.endif -LDFLAGS+= -L${LOCALBASE}/lib -.endif - -.if !defined(SENDMAIL_MILTER_PORT) -pre-everything:: -.if !exists(/usr/lib/libmilter.a) - ${ECHO_CMD} "Fatal: milter required, see instructions in DESCR" - ${FALSE} -.endif -.endif +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" post-patch: @${REINPLACE_CMD} -e \ |