From b979f7222ad9bade13f010cd27e5bc6afab1681c Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jan 2001 11:34:21 +0000 Subject: 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. --- editors/jed/Makefile | 7 +------ editors/jed/pkg/MESSAGE | 8 +++++--- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'editors/jed') 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. +====================================================================== -- cgit v1.2.3