mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
3e0e233984
Fixed use of $local_part in router configurations. Fixed "unseen" on router or director on deferment of delivery. Other minor fixes. Fixed handling of USE_XLIB to deal with =NO correctly. Submitted by: maintainer
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# New ports collection makefile for: exim
|
|
# Version required: 2.12
|
|
# Date created: 23 June 1996
|
|
# Whom: markm@FreeBSD.ORG
|
|
#
|
|
# $Id: Makefile,v 1.26 1999/01/27 14:07:07 markm Exp $
|
|
#
|
|
|
|
DISTNAME= exim-2.12
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/ \
|
|
ftp://ftp.quite.net/pub/exim/ \
|
|
http://www.exim.org/ftp/ \
|
|
ftp://ftp.is.co.za/networking/mail/transport/exim/
|
|
DISTFILES= exim-2.12.tar.gz exim-texinfo-2.10.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 defined(USE_XLIB) && ${USE_XLIB} == YES
|
|
${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
|
|
${SED} -e "s#XX_BINOWN_XX#${BINOWN}#" \
|
|
< ${FILESDIR}/configure.default > ${WRKSRC}/src/configure.default
|
|
cd ${WRKSRC}/doc && \
|
|
for i in ../../exim-texinfo-2.10/doc/* ; do \
|
|
ln -sf $$i ; \
|
|
done
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|