1996-07-06 11:13:58 +00:00
|
|
|
# New ports collection makefile for: exim
|
1999-06-17 08:53:12 +00:00
|
|
|
# Version required: 3.02
|
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-06-17 08:53:12 +00:00
|
|
|
# $Id: Makefile,v 1.32 1999/06/17 08:46:27 sheldonh Exp $
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
|
|
|
|
1999-06-08 23:28:03 +00:00
|
|
|
DISTNAME= exim-3.02
|
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-06-08 23:28:03 +00:00
|
|
|
DISTFILES= exim-3.02.tar.gz exim-texinfo-3.00.tar.gz
|
1996-07-09 21:24:47 +00:00
|
|
|
|
1999-06-08 23:28:03 +00:00
|
|
|
MAINTAINER= sheldonh@FreeBSD.ORG
|
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
|
|
|
|
|
1999-06-17 08:46:27 +00:00
|
|
|
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
|
|
|
|
|
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 && \
|
1999-06-08 23:28:03 +00:00
|
|
|
for i in ../../exim-texinfo-3.00/doc/* ; do \
|
1997-02-26 13:45:02 +00:00
|
|
|
ln -sf $$i ; \
|
1998-10-07 10:49:32 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
post-build:
|
1999-06-16 02:55:31 +00:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh \
|
|
|
|
${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}
|
|
|
|
${TOUCH} ${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}/eximon.bin
|
|
|
|
${TOUCH} ${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}/eximon
|
1998-10-07 10:49:32 +00:00
|
|
|
|
1996-07-06 11:13:58 +00:00
|
|
|
.include <bsd.port.mk>
|