1996-07-06 07:13:58 -04:00
|
|
|
# New ports collection makefile for: exim
|
1998-12-08 10:23:43 -05:00
|
|
|
# Version required: 2.054
|
1996-07-06 07:13:58 -04:00
|
|
|
# Date created: 23 June 1996
|
1998-12-08 10:23:43 -05:00
|
|
|
# Whom: markm@FreeBSD.ORG
|
1996-07-06 07:13:58 -04:00
|
|
|
#
|
1998-12-08 10:23:43 -05:00
|
|
|
# $Id: Makefile,v 1.23 1998/11/29 12:21:58 asami Exp $
|
1996-07-06 07:13:58 -04:00
|
|
|
#
|
|
|
|
|
1998-12-08 10:23:43 -05:00
|
|
|
DISTNAME= exim-2.054
|
1996-11-10 16:32:56 -05:00
|
|
|
CATEGORIES= mail
|
1998-11-17 06:05:15 -05:00
|
|
|
MASTER_SITES= ftp://ftp.quite.net/pub/exim/Testing/ \
|
|
|
|
ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Testing/ \
|
1998-12-08 10:23:43 -05:00
|
|
|
http://www.exim.org/ftp/Testing/ \
|
1998-11-17 06:05:15 -05:00
|
|
|
ftp://ftp.is.co.za/networking/mail/transport/exim/Testing/
|
1998-12-08 10:23:43 -05:00
|
|
|
DISTFILES= exim-testing-2.054.tar.gz exim-texinfo-2.00.tar.gz
|
1996-07-09 17:24:47 -04:00
|
|
|
|
1998-10-07 06:49:32 -04:00
|
|
|
MAINTAINER= axl@iafrica.com
|
1996-07-06 07:13:58 -04:00
|
|
|
|
1998-12-08 10:23:43 -05:00
|
|
|
# If USE_XLIB is defined, the eximon monitor, which requires X, will be
|
|
|
|
# built.
|
1998-11-28 00:39:01 -05:00
|
|
|
USE_XLIB= YES
|
1998-12-08 10:23:43 -05:00
|
|
|
|
1998-05-25 08:13:38 -04:00
|
|
|
USE_PERL5= YES
|
|
|
|
|
1996-07-06 07:13:58 -04:00
|
|
|
do-configure:
|
1998-10-07 06:49:32 -04:00
|
|
|
${MKDIR} ${WRKSRC}/Local
|
1998-12-08 10:23:43 -05:00
|
|
|
.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
|
|
|
|
|
1998-10-07 06:49:32 -04:00
|
|
|
${CP} ${FILESDIR}/eximon.conf ${WRKSRC}/Local
|
1998-12-08 10:23:43 -05:00
|
|
|
${SED} -e "s#XX_BINOWN_XX#${BINOWN}#" \
|
|
|
|
< ${FILESDIR}/configure.default > ${WRKSRC}/src/configure.default
|
1998-10-07 06:49:32 -04:00
|
|
|
cd ${WRKSRC}/doc && \
|
|
|
|
for i in ../../exim-texinfo-2.00/doc/* ; do \
|
1997-02-26 08:45:02 -05:00
|
|
|
ln -sf $$i ; \
|
1998-10-07 06:49:32 -04:00
|
|
|
done
|
|
|
|
|
|
|
|
post-build:
|
1998-11-16 04:45:24 -05:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
|
1998-12-08 10:23:43 -05:00
|
|
|
${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon.bin
|
|
|
|
${TOUCH} ${WRKSRC}/build-FreeBSD-i386/eximon
|
1998-10-07 06:49:32 -04:00
|
|
|
|
1998-11-29 07:21:58 -05: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 07:13:58 -04:00
|
|
|
.include <bsd.port.mk>
|