openbsd-ports/mail/exim/Makefile
espie a813079932 Kill a large set of deprecated variables.
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at
*install stage, and echo/ECHO_MSG is somewhat unsorted.

It's quite possible I missed a few automated changes...
2000-02-11 01:09:59 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2000/02/11 01:10:05 espie Exp $
#
DISTNAME= exim-3.12
CATEGORIES= mail
MAINTAINER= peter.galbavy@knowledge.com
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/
DISTFILES= exim-3.12.tar.gz exim-texinfo-3.10.tar.gz
do-configure:
@mkdir -p ${WRKSRC}/Local
@cp ${FILESDIR}/Makefile ${WRKSRC}/Local
@cp ${FILESDIR}/eximon.conf ${WRKSRC}/Local
@(cd ${WRKSRC}/doc ; \
for i in ../../exim-texinfo-3.10/doc/* ; do \
ln -sf $$i ; \
done )
pre-install:
${INSTALL} -d /etc/exim
# ${INSTALL} -d /var/log/exim
post-install:
@cp ${WRKSRC}/src/configure.default /etc/exim/configure.sample
@echo "EXIM is installed. You must now edit /etc/exim/configure"
@echo "and set the correct values for your system."
@echo
@echo "It is strongly advised that you configure exim to use"
@echo "a UID and GID other that 0/0. You can do this by adding"
@echo "lines to the configure file like this:"
@echo
@echo "\texim_user = \"nobody\""
@echo "\texim_group = \"nogroup\""
@echo
@echo "but you must remember to allow that user write"
@echo "permissions to /var/log/exim and /var/spool/exim"
@echo
@echo "If you intend replacing sendmail with exim, then don't"
@echo "forget to modify /etc/mailer.conf accordingly."
@echo
.include <bsd.port.mk>