summaryrefslogtreecommitdiff
path: root/x11/tkman
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /x11/tkman
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-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 'x11/tkman')
-rw-r--r--x11/tkman/Makefile5
-rw-r--r--x11/tkman/pkg/MESSAGE7
2 files changed, 7 insertions, 5 deletions
diff --git a/x11/tkman/Makefile b/x11/tkman/Makefile
index 0125c9bf159..81890c22180 100644
--- a/x11/tkman/Makefile
+++ b/x11/tkman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2000/09/11 21:08:49 fredb Exp $
+# $NetBSD: Makefile,v 1.25 2001/01/29 11:34:49 wiz Exp $
# FreeBSD Id: Makefile,v 1.28 1997/12/08 15:51:20 tg Exp
#
@@ -17,7 +17,6 @@ DEPENDS+= tk-8.3.2:../../x11/tk
USE_X11= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
WRKSRC= ${WRKDIR}/${PKGNAME}
post-install:
@@ -25,8 +24,6 @@ post-install:
-e 's|@@PREFIX@@|${PREFIX}|' \
-e 's|@@X11BASE@@|${X11BASE}|' \
< ${FILESDIR}/mkindex > ${WRKDIR}/mkindex
- ${SED} -e 's|@@PREFIX@@|${PREFIX}|' \
- < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
${INSTALL_SCRIPT} ${WRKDIR}/mkindex ${PREFIX}/libexec
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/tkman/pkg/MESSAGE b/x11/tkman/pkg/MESSAGE
index 1662d1ae510..2058d72db4b 100644
--- a/x11/tkman/pkg/MESSAGE
+++ b/x11/tkman/pkg/MESSAGE
@@ -1,5 +1,10 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:49 wiz Exp $
+
You can have the glimpse and apropos databases, needed by tkman,
kept up-to-date by adding the following entry to root's crontab
(edit to taste):
-10 2 * * 6 @@PREFIX@@/libexec/mkindex
+10 2 * * 6 ${PREFIX}/libexec/mkindex
+
+======================================================================