summaryrefslogtreecommitdiff
path: root/japanese/skkserv
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 /japanese/skkserv
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 'japanese/skkserv')
-rw-r--r--japanese/skkserv/Makefile4
-rw-r--r--japanese/skkserv/pkg/MESSAGE7
2 files changed, 7 insertions, 4 deletions
diff --git a/japanese/skkserv/Makefile b/japanese/skkserv/Makefile
index ac64ca6535e..ce922cecf0c 100644
--- a/japanese/skkserv/Makefile
+++ b/japanese/skkserv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/01/26 05:21:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:29 wiz Exp $
DISTNAME= skk9.6
PKGNAME= skkserv-3.9.4nb1
@@ -19,7 +19,6 @@ DIST_SUBDIR= skk
GNU_CONFIGURE= YES
INSTALL_FILE= ${WRKDIR}/INSTALL
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
.include "../../mk/bsd.prefs.mk"
@@ -43,7 +42,6 @@ post-build:
${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/skkserv.sh \
>${WRKDIR}/skkserv.sh
${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/INSTALL >${INSTALL_FILE}
- ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
:
: Merging dictionaries....
:
diff --git a/japanese/skkserv/pkg/MESSAGE b/japanese/skkserv/pkg/MESSAGE
index 00734702a59..3f24478abd5 100644
--- a/japanese/skkserv/pkg/MESSAGE
+++ b/japanese/skkserv/pkg/MESSAGE
@@ -1 +1,6 @@
-Please add "@PREFIX@/etc/rc.d/skkserv.sh" to "/etc/rc.local".
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:29 wiz Exp $
+
+Please add ${PREFIX}/etc/rc.d/skkserv to /etc/rc.local.
+
+======================================================================