summaryrefslogtreecommitdiff
path: root/japanese/skkinput
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/skkinput
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/skkinput')
-rw-r--r--japanese/skkinput/Makefile4
-rw-r--r--japanese/skkinput/pkg/MESSAGE7
2 files changed, 7 insertions, 4 deletions
diff --git a/japanese/skkinput/Makefile b/japanese/skkinput/Makefile
index ddf8697778e..82fa7c62a07 100644
--- a/japanese/skkinput/Makefile
+++ b/japanese/skkinput/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/11/09 05:14:27 itohy Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/29 11:34:28 wiz Exp $
DISTNAME= skkinput-2.03
CATEGORIES= japanese
@@ -17,12 +17,10 @@ PLIST_SUBST= PKGBASE=${LOCALBASE}
DESCR_SRC= ${WRKDIR}/DESCR
INSTALL_FILE= ${WRKDIR}/INSTALL
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-build:
${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/DESCR >${DESCR_SRC}
${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/INSTALL >${INSTALL_FILE}
- ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/MESSAGE >${MESSAGE_FILE}
post-install:
${INSTALL_MAN} ${WRKSRC}/skkinput.man ${PREFIX}/man/ja_JP.EUC/man1/skkinput.1
diff --git a/japanese/skkinput/pkg/MESSAGE b/japanese/skkinput/pkg/MESSAGE
index 868dfc7e6e4..553c395fcfc 100644
--- a/japanese/skkinput/pkg/MESSAGE
+++ b/japanese/skkinput/pkg/MESSAGE
@@ -1,4 +1,9 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:29 wiz Exp $
+
To use skkinput, the dictionary server (skkserv) is almost
required. Use "skkserv" pkg, or, if you have another machine
-running skkserv, put the hostname in @PKGBASE@/etc/skk.conf
+running skkserv, put the hostname in ${LOCALBASE}/etc/skk.conf
file, and skkinput will connect to the host.
+
+======================================================================