diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /mail/sendmail88 | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.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/sendmail88')
-rw-r--r-- | mail/sendmail88/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail88/pkg/MESSAGE | 11 |
2 files changed, 11 insertions, 7 deletions
diff --git a/mail/sendmail88/Makefile b/mail/sendmail88/Makefile index d17d29b92dd..709f733c628 100644 --- a/mail/sendmail88/Makefile +++ b/mail/sendmail88/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/02/13 00:14:48 tron Exp $ +# $NetBSD: Makefile,v 1.2 2001/01/29 11:34:32 wiz Exp $ DISTNAME= sendmail.8.8.8 PKGNAME= sendmail-8.8.8 @@ -11,7 +11,6 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.sendmail.org/ MANCOMPRESSED_IF_MANZ= YES -MESSAGE_FILE= ${WRKSRC}/MESSAGE WRKSRC= ${WRKDIR}/${PKGNAME} M4DIR= ${PREFIX}/share/sendmail @@ -110,11 +109,11 @@ post-extract: do-configure: cd ${WRKSRC}; \ for FILE in ${FILESDIR}/${MAKEFILE} ${FILESDIR}/${MAKEFILE}.inc \ - ${FILESDIR}/mailer.conf ${PKGDIR}/MESSAGE; do \ + ${FILESDIR}/mailer.conf; do \ ${CP} $${FILE} .; \ done; \ ${CP} ${FILESDIR}/netbsd-proto.mc ${WRKSRC}/cf/cf; \ - for FILE in MESSAGE cf/README cf/feature/smrsh.m4 mailer.conf; do \ + for FILE in cf/README cf/feature/smrsh.m4 mailer.conf; do \ ${CP} $${FILE} tempfile; \ ${SED} -e 's#@@PKGNAME@@#${PKGNAME}#g' \ -e 's#@@PREFIX@@#${PREFIX}#g' \ diff --git a/mail/sendmail88/pkg/MESSAGE b/mail/sendmail88/pkg/MESSAGE index a0d6221c0fd..0ef122a12c8 100644 --- a/mail/sendmail88/pkg/MESSAGE +++ b/mail/sendmail88/pkg/MESSAGE @@ -1,5 +1,10 @@ -To use "@@PKGNAME@@" as the system's mail transport agent you have -to install "@@PREFIX@@/etc/mailer.conf.sendmail" as global mailwrapper +====================================================================== +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:32 wiz Exp $ + +To use "${PKGNAME}" as the system's mail transport agent you have +to install "${PREFIX}/etc/mailer.conf.sendmail" as global mailwrapper configuration file. The command below will do that for you: -ln -fs @@PREFIX@@/etc/mailer.conf.sendmail /etc/mailer.conf +ln -fs ${PREFIX}/etc/mailer.conf.sendmail /etc/mailer.conf + +====================================================================== |