summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /editors
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.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')
-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.
+======================================================================