summaryrefslogtreecommitdiff
path: root/inputmethod/ja-freewnn-lib
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-07-29 21:13:19 +0000
committerjmmv <jmmv>2003-07-29 21:13:19 +0000
commitc5fa676de93ee12a175b4d2a2d6648a62e1dcbe0 (patch)
treee881bdcdbe2fe7f09cb34bd4d7d7b581d809e08c /inputmethod/ja-freewnn-lib
parent41996a177637f7c5b76d45e46ac6c9721af80893 (diff)
downloadpkgsrc-c5fa676de93ee12a175b4d2a2d6648a62e1dcbe0.tar.gz
Use the bsd.pkg.install.mk framework to generate the rc.d script.
Bump PKGREVISION of ja-freewnn-server-bin to 2.
Diffstat (limited to 'inputmethod/ja-freewnn-lib')
-rw-r--r--inputmethod/ja-freewnn-lib/Makefile.common6
-rw-r--r--inputmethod/ja-freewnn-lib/files/ja_freewnn.sh (renamed from inputmethod/ja-freewnn-lib/files/ja_freewnn)4
2 files changed, 5 insertions, 5 deletions
diff --git a/inputmethod/ja-freewnn-lib/Makefile.common b/inputmethod/ja-freewnn-lib/Makefile.common
index e23430b1beb..b4b21e18d2b 100644
--- a/inputmethod/ja-freewnn-lib/Makefile.common
+++ b/inputmethod/ja-freewnn-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2003/03/29 12:41:23 jmmv Exp $
+# $NetBSD: Makefile.common,v 1.5 2003/07/29 21:13:19 jmmv Exp $
#
DISTNAME= FreeWnn-1.10
@@ -68,9 +68,9 @@ post-patch:
config.h.orig > config.h)
.if defined(WNN_TARGET) && (${WNN_TARGET} == "SERVER")
+RCD_SCRIPTS= ja_freewnn
+
post-build:
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/ja_freewnn \
- > ${WRKDIR}/ja_freewnn
@${MV} ${WRKSRC}/Wnn/jd/jserverrc ${WRKSRC}/Wnn/jd/jserverrc.orig
@${SED} -e 's|^\(jserver_dir\).*|\1 ${IMDICTDIR}/wnn/${WNN_LANG}|' \
${WRKSRC}/Wnn/jd/jserverrc.orig > ${WRKSRC}/Wnn/jd/jserverrc
diff --git a/inputmethod/ja-freewnn-lib/files/ja_freewnn b/inputmethod/ja-freewnn-lib/files/ja_freewnn.sh
index f366934f0bf..19caf422e40 100644
--- a/inputmethod/ja-freewnn-lib/files/ja_freewnn
+++ b/inputmethod/ja-freewnn-lib/files/ja_freewnn.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: ja_freewnn,v 1.3 2002/08/25 19:22:57 jlam Exp $
+# $NetBSD: ja_freewnn.sh,v 1.1 2003/07/29 21:13:21 jmmv Exp $
#
# PROVIDE: freewnn
# REQUIRE: DAEMON