1996-07-06 11:13:58 +00:00
|
|
|
# New ports collection makefile for: exim
|
1999-02-10 16:09:49 +00:00
|
|
|
# Version required: 2.12
|
1996-07-06 11:13:58 +00:00
|
|
|
# Date created: 23 June 1996
|
1998-12-08 15:23:43 +00:00
|
|
|
# Whom: markm@FreeBSD.ORG
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
1999-02-10 16:09:49 +00:00
|
|
|
# $Id: Makefile,v 1.26 1999/01/27 14:07:07 markm Exp $
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
|
|
|
|
1999-02-10 16:09:49 +00:00
|
|
|
DISTNAME= exim-2.12
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1998-12-17 10:54:24 +00:00
|
|
|
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/
|
1999-02-10 16:09:49 +00:00
|
|
|
DISTFILES= exim-2.12.tar.gz exim-texinfo-2.10.tar.gz
|
1996-07-09 21:24:47 +00:00
|
|
|
|
1998-10-07 10:49:32 +00:00
|
|
|
MAINTAINER= axl@iafrica.com
|
1996-07-06 11:13:58 +00:00
|
|
|
|
1998-12-08 15:23:43 +00:00
|
|
|
# If USE_XLIB is defined, the eximon monitor, which requires X, will be
|
|
|
|
# built.
|
1998-11-28 05:39:01 +00:00
|
|
|
USE_XLIB= YES
|
1998-12-08 15:23:43 +00:00
|
|
|
|
1998-05-25 12:13:38 +00:00
|
|
|
USE_PERL5= YES
|
|
|
|
|
1996-07-06 11:13:58 +00:00
|
|
|
do-configure:
|
1998-10-07 10:49:32 +00:00
|
|
|
${MKDIR} ${WRKSRC}/Local
|
1999-02-10 16:09:49 +00:00
|
|
|
.if defined(USE_XLIB) && ${USE_XLIB} == YES
|
1998-12-08 15:23:43 +00:00
|
|
|
${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
|
|
|
|
|
1998-10-07 10:49:32 +00:00
|
|
|
${CP} ${FILESDIR}/eximon.conf ${WRKSRC}/Local
|
1998-12-08 15:23:43 +00:00
|
|
|
${SED} -e "s#XX_BINOWN_XX#${BINOWN}#" \
|
|
|
|
< ${FILESDIR}/configure.default > ${WRKSRC}/src/configure.default
|
1998-10-07 10:49:32 +00:00
|
|
|
cd ${WRKSRC}/doc && \
|
1998-12-17 10:54:24 +00:00
|
|
|
for i in ../../exim-texinfo-2.10/doc/* ; do \
|
1997-02-26 13:45:02 +00:00
|
|
|
ln -sf $$i ; \
|
1998-10-07 10:49:32 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
post-build:
|
1998-11-16 09:45:24 +00:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
|
1998-12-08 15:23:43 +00:00
|
|
|
${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon.bin
|
|
|
|
${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon
|
1998-10-07 10:49:32 +00:00
|
|
|
|
1998-11-29 12:21:58 +00:00
|
|
|
pre-install:
|
|
|
|
if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
|
|
|
|
1996-07-06 11:13:58 +00:00
|
|
|
.include <bsd.port.mk>
|