summaryrefslogtreecommitdiff
path: root/editors/jed
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit3ce638ed02adf3649ce7b39076071ccb64529784 (patch)
tree86f14acd24842161759a420487862022044c2b4b /editors/jed
parent33d3218590bab0dca7122812c6edc6f6b124689f (diff)
downloadpkgsrc-3ce638ed02adf3649ce7b39076071ccb64529784.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/Makefile7
-rw-r--r--editors/jed/pkg/MESSAGE8
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.
+======================================================================