aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-01-13 04:22:51 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-01-13 04:22:51 +0000
commit7bf0ee809a96f7dab18412f78cfa104c69118f96 (patch)
tree5f72048f78db24acfd04c29ea2835057989d50bb /mail
parent66990815ac942616d3c741b102bba56adfdfdae6 (diff)
downloadports-7bf0ee809a96f7dab18412f78cfa104c69118f96.tar.gz
ports-7bf0ee809a96f7dab18412f78cfa104c69118f96.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-regex/Makefile19
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 \