1996-07-06 11:13:58 +00:00
|
|
|
# New ports collection makefile for: exim
|
1998-11-16 09:45:24 +00:00
|
|
|
# Version required: 2.053
|
1996-07-06 11:13:58 +00:00
|
|
|
# Date created: 23 June 1996
|
1998-10-07 10:49:32 +00:00
|
|
|
# Whom: axl@iafrica.com
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
1998-11-29 12:21:58 +00:00
|
|
|
# $Id: Makefile,v 1.22 1998/11/28 05:38:56 asami Exp $
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
|
|
|
|
1998-11-16 09:45:24 +00:00
|
|
|
DISTNAME= exim-2.053
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1998-11-17 11:05:15 +00:00
|
|
|
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/ \
|
|
|
|
ftp://ftp.is.co.za/networking/mail/transport/exim/Testing/
|
1998-11-16 09:45:24 +00:00
|
|
|
DISTFILES= exim-testing-2.053.tar.gz exim-texinfo-2.00.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-11-28 05:39:01 +00:00
|
|
|
USE_XLIB= YES
|
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
|
1998-11-16 09:45:24 +00:00
|
|
|
if [ -d ${X11BASE} ] ; then \
|
1998-10-07 10:49:32 +00:00
|
|
|
${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
|
1998-11-16 09:45:24 +00:00
|
|
|
< ${FILESDIR}/Makefile \
|
1998-10-07 10:49:32 +00:00
|
|
|
> ${WRKSRC}/Local/Makefile ; \
|
|
|
|
else \
|
|
|
|
${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
|
|
|
|
< ${FILESDIR}/Makefile \
|
1998-11-16 09:45:24 +00:00
|
|
|
| ${SED} -e "s/^EXIM_MONITOR/#EXIM_MONITOR/" \
|
1998-10-07 10:49:32 +00:00
|
|
|
> ${WRKSRC}/Local/Makefile ; \
|
|
|
|
fi
|
|
|
|
${CP} ${FILESDIR}/eximon.conf ${WRKSRC}/Local
|
|
|
|
${CP} ${FILESDIR}/configure.default ${WRKSRC}/src
|
|
|
|
cd ${WRKSRC}/doc && \
|
|
|
|
for i in ../../exim-texinfo-2.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:
|
1998-11-16 09:45:24 +00:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386
|
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
|
|
|
|
|
1998-10-07 10:49:32 +00:00
|
|
|
post-install:
|
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
|
1998-11-16 09:45:24 +00:00
|
|
|
exim-2.053 POST-INSTALL
|
1996-07-06 11:13:58 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|