summaryrefslogtreecommitdiff
path: root/mail/sendmail/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-21 07:32:18 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-21 07:32:18 +0000
commit4f81d10ca9b68c2d62c0e72c511382b642d89871 (patch)
treebb97ca712ab427a0b8beefb79ed234095e32915c /mail/sendmail/Makefile
parentMake id3lib use libtool correctly. Use automake/autoconf along with a patch (diff)
Small improvements for remote build. The empty config directory is now
removed. Use of macro APPENDDEF to allow confCOPTS. Also add TCPWRAPPER and IPv6 support for FreeBSD >= 4.0, as well as optional TSL support, patches for rmail & mail.local, and other changes. PR: 22619 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=36175
Diffstat (limited to 'mail/sendmail/Makefile')
-rw-r--r--mail/sendmail/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 2b6df19e5dac..47a03dc4b107 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -7,7 +7,8 @@
PORTNAME= sendmail
PORTVERSION= 8.11.1
-CATEGORIES= mail
+PORTREVISION= 1
+CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -18,14 +19,26 @@ NO_PACKAGE= "sendmail included in base system"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST= ${WRKDIR}/.PLIST.more
-.if exists(/etc/mail/mailer.conf)
+.if defined(SENDMAIL_WITH_TSL)
+USE_OPENSSL= yes
+.endif
+
+.if exists(${DESTDIR}/etc/mail/mailer.conf)
pre-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
${FILESDIR}/site.config.m4 >${WRKSRC}/devtools/Site/site.config.m4
+.if defined(SENDMAIL_WITH_TSL)
+ ${CAT} ${FILESDIR}/site.config.m4.tls \
+ >> ${WRKSRC}/devtools/Site/site.config.m4
+.endif
.else
pre-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
${FILESDIR}/site.config.m4.pre4 >${WRKSRC}/devtools/Site/site.config.m4
+.if defined(SENDMAIL_WITH_TSL)
+ ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" ${FILESDIR}/site.config.m4.ssl \
+ >> ${WRKSRC}/devtools/Site/site.config.m4
+.endif
PREFIX?= ${DESTDIR}/usr
MANPREFIX?= ${DESTDIR}/usr/share
@@ -46,6 +59,7 @@ pre-install:
${AWK} '{print "share/sendmail/" $$1}' >>${PLIST}
cd ${WRKSRC} && find -d cf -type d | \
${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST}
+ ${ECHO} "@dirrm share/sendmail" >>${PLIST}
.endif
# We want mail.local and rmail for our system.