1996-07-06 11:13:58 +00:00
|
|
|
# New ports collection makefile for: exim
|
1998-10-07 10:49:32 +00:00
|
|
|
# Version required: 2.02
|
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-10-08 14:31:03 +00:00
|
|
|
# $Id: Makefile,v 1.14 1998/10/07 10:49:31 markm Exp $
|
1996-07-06 11:13:58 +00:00
|
|
|
#
|
|
|
|
|
1998-10-08 14:31:03 +00:00
|
|
|
DISTNAME= exim-2.05
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1996-07-06 11:13:58 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/
|
1998-10-08 14:31:03 +00:00
|
|
|
DISTFILES= exim-2.05.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-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
|
|
|
|
if [ ! -d ${X11BASE} ] ; then \
|
|
|
|
${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
|
|
|
|
< ${FILESDIR}/Makefile.no_eximon \
|
|
|
|
> ${WRKSRC}/Local/Makefile ; \
|
|
|
|
else \
|
|
|
|
${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
|
|
|
|
< ${FILESDIR}/Makefile \
|
|
|
|
> ${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:
|
|
|
|
if [ ! -d ${X11BASE} ] ; then \
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/eximon ${FILESDIR}/eximon.bin \
|
|
|
|
${WRKSRC}/build-FreeBSD-i386 ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
|
|
|
|
exim-2.02 POST-INSTALL
|
1996-07-06 11:13:58 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|