openbsd-ports/mail/exim/Makefile
2000-01-26 11:54:13 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2000/01/26 11:54:13 peter 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} ${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>