summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /mail/exim
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile4
-rw-r--r--mail/exim/pkg/MESSAGE8
2 files changed, 5 insertions, 7 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index cebbd32bb4e..be4cc7feedd 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/01/26 05:21:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.19 2001/01/29 11:34:30 wiz Exp $
DISTNAME= exim-3.20
CATEGORIES= mail net
@@ -11,12 +11,10 @@ MAINTAINER= ad@netbsd.org
HOMEPAGE= http://www.exim.org/
USE_PERL5= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
pre-patch:
${MKDIR} ${WRKSRC}/Local
${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.netbsd
- ${SED} "s,@PREFIX@,${PREFIX}," < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
pre-configure:
${SED} -e 's:@PREFIX@:${PREFIX}:' \
diff --git a/mail/exim/pkg/MESSAGE b/mail/exim/pkg/MESSAGE
index be074818c04..0400ae5c020 100644
--- a/mail/exim/pkg/MESSAGE
+++ b/mail/exim/pkg/MESSAGE
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2000/08/30 11:21:02 ad Exp $
+$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:30 wiz Exp $
To use exim, you will need to perform the following steps manually; it is
inappropriate for this package to make the changes for you.
@@ -7,13 +7,13 @@ inappropriate for this package to make the changes for you.
1. Add a `mail' user: mail:*:8:6::0:0:Mail subsystem:/var/mail:/sbin/nologin
2. Set the correct ownership and permissions on the exim log directory:
chown mail:mail /var/log/exim && chmod 750 /var/log/exim
-3. Read the documentation. Edit @PREFIX@/etc/exim/configure to taste. Note
+3. Read the documentation. Edit ${PREFIX}/etc/exim/configure to taste. Note
that depending on the version of NetBSD, the `aliases' file may be in
/etc/mail and not /etc, as it was previously.
4. Back-up /etc/mailer.conf to /etc/mailer.conf.sendmail.
- Copy @PREFIX@/etc/exim/mailer.conf.exim to /etc/mailer.conf.
+ Copy ${PREFIX}/etc/exim/mailer.conf.exim to /etc/mailer.conf.
5. Set sendmail=NO in /etc/rc.conf. Add the folllowing to /etc/rc.local:
- echo -n ' exim'; @PREFIX@/etc/rc.d/exim.sh
+ echo -n ' exim'; ${PREFIX}/etc/rc.d/exim
6. Configuring log rotation is dependant on personal taste and the version of
NetBSD in use. See weekly.conf(5), newsyslog(8), exicyclog and eximstats.