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/smtpfeed | |
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/smtpfeed')
-rw-r--r-- | mail/smtpfeed/Makefile | 9 | ||||
-rw-r--r-- | mail/smtpfeed/pkg/MESSAGE | 13 |
2 files changed, 9 insertions, 13 deletions
diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile index c8c75862652..787e001b91d 100644 --- a/mail/smtpfeed/Makefile +++ b/mail/smtpfeed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/01/21 06:02:27 itojun Exp $ +# $NetBSD: Makefile,v 1.11 2001/01/29 11:34:32 wiz Exp $ # Based on FreeBSD Id: Makefile,v 1.27 1999/04/03 08:25:18 itojun Exp # @@ -21,8 +21,6 @@ CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec # use bind8? #CONFIGURE_ARGS+= --with-bind8 -MESSAGE_FILE= ${WRKDIR}/MESSAGE - DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \ ML-ADMIN ML-ADMIN.j OPTIONS OPTIONS.j README README.j \ RELEASE.NOTE SIGNAL SIGNAL.j TODO @@ -36,11 +34,6 @@ BUILD_DEFS+= USE_INET6 CONFIGURE_ARGS+=--enable-ipv6 .endif -post-build: - ${SED} -e 's#@@PKGNAME@@#${PKGNAME}#g' \ - -e 's#@@PREFIX@@#${PREFIX}#g' \ - < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCDIR} diff --git a/mail/smtpfeed/pkg/MESSAGE b/mail/smtpfeed/pkg/MESSAGE index 119f76db6d9..9110659d0db 100644 --- a/mail/smtpfeed/pkg/MESSAGE +++ b/mail/smtpfeed/pkg/MESSAGE @@ -1,8 +1,11 @@ -************************************************************** -Executable for @@PKGNAME@@ is installed into -@@PREFIX@@/libexec/smtpfeed. +====================================================================== +$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:32 wiz Exp $ + +The executable for ${PKGNAME} is installed into +${PREFIX}/libexec/smtpfeed. You'll need to prepare (1) sendmail with WIDE patch applied, and (2) properly configured sendmail.cf. -(1) is included in mail/sendmail pkgsrc. -************************************************************** +(1) is done in the mail/sendmail package. + +====================================================================== |