summaryrefslogtreecommitdiffstats
path: root/mail/exim-old/Makefile
blob: a176c41ff2a28b6f8e5600c659e3aff558bea4be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:	exim
# Version required:	2.053
# Date created:		23 June 1996
# Whom:			axl@iafrica.com
#
# $Id: Makefile,v 1.19 1998/11/16 09:45:23 markm Exp $
#

DISTNAME=	exim-2.053
CATEGORIES=	mail
MASTER_SITES=	ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Testing/
DISTFILES=	exim-testing-2.053.tar.gz exim-texinfo-2.00.tar.gz

MAINTAINER=	axl@iafrica.com

BROKEN=		fetch

USE_PERL5=	YES

do-configure:
	${MKDIR} ${WRKSRC}/Local
	if [ -d ${X11BASE} ] ; then \
		${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
		    < ${FILESDIR}/Makefile \
		    > ${WRKSRC}/Local/Makefile ; \
	else \
		${SED} -e "s#XX_PREFIX_XX#${PREFIX}#" \
		    < ${FILESDIR}/Makefile \
		    | ${SED} -e "s/^EXIM_MONITOR/#EXIM_MONITOR/" \
		    > ${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 \
		ln -sf $$i ; \
	done

post-build:
	${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${WRKSRC}/build-FreeBSD-i386

post-install:
	@${SETENV} ${SCRIPTS_ENV} ${PERL5} ${PKGDIR}/INSTALL \
	    exim-2.053 POST-INSTALL

.include <bsd.port.mk>
OpenPOWER on IntegriCloud