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 /editors/jed | |
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 'editors/jed')
-rw-r--r-- | editors/jed/Makefile | 7 | ||||
-rw-r--r-- | editors/jed/pkg/MESSAGE | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile index 7d3ecaa9381..30f2a88842d 100644 --- a/editors/jed/Makefile +++ b/editors/jed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2000/09/03 10:04:38 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2001/01/29 11:34:24 wiz Exp $ # DISTNAME= jed0.98-7 @@ -17,9 +17,4 @@ CONFIGURE_ARGS+= --without-X WRKSRC= ${WRKDIR}/jed -MESSAGE_FILE= ${WRKDIR}/MESSAGE - -pre-install: - ${SED} -e "s_@PREFIX@_${PREFIX}_" ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - .include "../../mk/bsd.pkg.mk" diff --git a/editors/jed/pkg/MESSAGE b/editors/jed/pkg/MESSAGE index fc58e64dd6c..d0108ad76a7 100644 --- a/editors/jed/pkg/MESSAGE +++ b/editors/jed/pkg/MESSAGE @@ -1,4 +1,6 @@ -$NetBSD: MESSAGE,v 1.2 2000/09/03 10:04:39 wiz Exp $ +====================================================================== +$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:24 wiz Exp $ -You might want to have a look at @PREFIX@/share/jed/lib/* and install a -file defaults.sl for site defaults there. +You might want to have a look at ${PREFIX}/share/jed/lib/* and +install a file defaults.sl for site defaults there. +====================================================================== |