aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail-old
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-02-09 12:17:38 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-02-09 12:17:38 +0000
commit788746e7cabc7794d251c776e54e7a24526a9e7a (patch)
treeb1caf24bceca60a806d9de74b19aa7484fb4ac5a /mail/sendmail-old
parent8f4e3e90a28c6cccca958ba4ce1db8a9534d3fb8 (diff)
downloadports-788746e7cabc7794d251c776e54e7a24526a9e7a.tar.gz
ports-788746e7cabc7794d251c776e54e7a24526a9e7a.zip
Notes
Diffstat (limited to 'mail/sendmail-old')
-rw-r--r--mail/sendmail-old/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 9463e2be41c7..499f680f7be5 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -29,15 +29,11 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
# Options to define Features:
# SENDMAIL_WITHOUT_IPV6=yes
-# SENDMAIL_WITH_MILTER=yes
+# SENDMAIL_WITHOUT_MILTER=yes
# SENDMAIL_WITH_TLS=yes
# SENDMAIL_WITH_SASL=yes
# SENDMAIL_WITH_SFIO=yes
# SENDMAIL_WITH_LDAP=yes
-.if defined(BATCH)
-# all on for package build
-SENDMAIL_WITH_MILTER=yes
-.endif
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
@@ -79,7 +75,7 @@ SITE+= ${FILESDIR}/site.config.m4.sasl
.if defined(SENDMAIL_WITH_LDAP)
SITE+= ${FILESDIR}/site.config.m4.ldap
.endif
-.if defined(SENDMAIL_WITH_MILTER)
+.if ! defined(SENDMAIL_WITHOUT_MILTER)
SITE+= ${FILESDIR}/site.config.m4.milter
.endif
.if exists(${FILESDIR}/site.config.m4.local)
@@ -98,14 +94,14 @@ do-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${SITE} > ${WCONF}/site.config.m4
-.if defined(SENDMAIL_WITH_MILTER)
+.if ! defined(SENDMAIL_WITHOUT_MILTER)
post-build:
( cd ${WRKSRC}/libmilter && ${MAKE} )
.endif
pre-install:
@${CAT} ${PKGDIR}/pkg-plist >${PLIST}
-.if defined(SENDMAIL_WITH_MILTER)
+.if ! defined(SENDMAIL_WITHOUT_MILTER)
@${CAT} ${FILESDIR}/pkg-milter >>${PLIST}
.endif
.if !defined(NOPORTDOCS)
@@ -126,7 +122,7 @@ pre-install:
post-install:
( cd ${WRKSRC}/mail.local && ${MAKE} force-install )
( cd ${WRKSRC}/rmail && ${MAKE} force-install )
-.if defined(SENDMAIL_WITH_MILTER)
+.if ! defined(SENDMAIL_WITHOUT_MILTER)
${MKDIR} ${PREFIX}/include/libmilter
${INSTALL_DATA} ${WRKSRC}/include/libmilter/mfapi.h \
${PREFIX}/include/libmilter/
@@ -156,7 +152,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/sendmail/README ${DOCSDIR}/SENDMAIL
${INSTALL_DATA} ${WRKSRC}/mail.local/README ${DOCSDIR}/MAIL.LOCAL
${INSTALL_DATA} ${WRKSRC}/smrsh/README ${DOCSDIR}/SMRSH
-.if defined(SENDMAIL_WITH_MILTER)
+.if ! defined(SENDMAIL_WITHOUT_MILTER)
${INSTALL_DATA} ${WRKSRC}/libmilter/README ${DOCSDIR}/MILTER
.endif
.endif