summaryrefslogtreecommitdiff
path: root/mail/exim/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-12-08 15:23:43 +0000
committerMark Murray <markm@FreeBSD.org>1998-12-08 15:23:43 +0000
commite4d91e417277fba750406cb428692432496fd79c (patch)
tree03cd7994c6f2df158437d909226c176fa377b13f /mail/exim/Makefile
parent* Make fetchable by adding MASTER_SITEs. (diff)
Upgrade to 2.054 (Testing release!).
Patches incorporated by the author were removed. One new patch created to prevent core dumps when running non-listening queue-runners. Handle the difference in BINOWN between stable (bin) and current (root), obviating the need for an INSTALL script. Don't install shell script "place-holders" for eximon when built without USE_XLIB, just touch the files for package-friendliness. Graceful. Improve out-of-the-box relay handling; localhost symoblic name was weak, use private subnet numerical net instead. Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=15190
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r--mail/exim/Makefile45
1 files changed, 24 insertions, 21 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index c7e01a9f753a..6ed86d410098 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,38 +1,43 @@
# New ports collection makefile for: exim
-# Version required: 2.053
+# Version required: 2.054
# Date created: 23 June 1996
-# Whom: axl@iafrica.com
+# Whom: markm@FreeBSD.ORG
#
-# $Id: Makefile,v 1.22 1998/11/28 05:38:56 asami Exp $
+# $Id: Makefile,v 1.23 1998/11/29 12:21:58 asami Exp $
#
-DISTNAME= exim-2.053
+DISTNAME= exim-2.054
CATEGORIES= mail
MASTER_SITES= ftp://ftp.quite.net/pub/exim/Testing/ \
- http://www.exim.org/ftp/Testing/ \
ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Testing/ \
+ http://www.exim.org/ftp/Testing/ \
ftp://ftp.is.co.za/networking/mail/transport/exim/Testing/
-DISTFILES= exim-testing-2.053.tar.gz exim-texinfo-2.00.tar.gz
+DISTFILES= exim-testing-2.054.tar.gz exim-texinfo-2.00.tar.gz
MAINTAINER= axl@iafrica.com
+# If USE_XLIB is defined, the eximon monitor, which requires X, will be
+# built.
USE_XLIB= YES
+
USE_PERL5= YES
do-configure:
${MKDIR} ${WRKSRC}/Local
- if [ -d ${X11BASE} ] ; then \
- ${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
- < ${FILESDIR}/Makefile \
- > ${WRKSRC}/Local/Makefile ; \
- else \
- ${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
- < ${FILESDIR}/Makefile \
- | ${SED} -e "s/^EXIM_MONITOR/#EXIM_MONITOR/" \
- > ${WRKSRC}/Local/Makefile ; \
- fi
+.if defined(USE_XLIB)
+ ${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
+ < ${FILESDIR}/Makefile \
+ > ${WRKSRC}/Local/Makefile
+.else
+ ${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
+ -e "s/^EXIM_MONITOR/#EXIM_MONITOR/" \
+ < ${FILESDIR}/Makefile \
+ > ${WRKSRC}/Local/Makefile
+.endif
+
${CP} ${FILESDIR}/eximon.conf ${WRKSRC}/Local
- ${CP} ${FILESDIR}/configure.default ${WRKSRC}/src
+ ${SED} -e "s#XX_BINOWN_XX#${BINOWN}#" \
+ < ${FILESDIR}/configure.default > ${WRKSRC}/src/configure.default
cd ${WRKSRC}/doc && \
for i in ../../exim-texinfo-2.00/doc/* ; do \
ln -sf $$i ; \
@@ -40,14 +45,12 @@ do-configure:
post-build:
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
+ ${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon.bin
+ ${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon
pre-install:
if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
-post-install:
- @${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
- exim-2.053 POST-INSTALL
-
.include <bsd.port.mk>