head	1.5;
access;
symbols
	pkgsrc-2013Q2:1.5.0.54
	pkgsrc-2013Q2-base:1.5
	pkgsrc-2012Q4:1.5.0.52
	pkgsrc-2012Q4-base:1.5
	pkgsrc-2011Q4:1.5.0.50
	pkgsrc-2011Q4-base:1.5
	pkgsrc-2011Q2:1.5.0.48
	pkgsrc-2011Q2-base:1.5
	pkgsrc-2009Q4:1.5.0.46
	pkgsrc-2009Q4-base:1.5
	pkgsrc-2008Q4:1.5.0.44
	pkgsrc-2008Q4-base:1.5
	pkgsrc-2008Q3:1.5.0.42
	pkgsrc-2008Q3-base:1.5
	cube-native-xorg:1.5.0.40
	cube-native-xorg-base:1.5
	pkgsrc-2008Q2:1.5.0.38
	pkgsrc-2008Q2-base:1.5
	pkgsrc-2008Q1:1.5.0.36
	pkgsrc-2008Q1-base:1.5
	pkgsrc-2007Q4:1.5.0.34
	pkgsrc-2007Q4-base:1.5
	pkgsrc-2007Q3:1.5.0.32
	pkgsrc-2007Q3-base:1.5
	pkgsrc-2007Q2:1.5.0.30
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.28
	pkgsrc-2007Q1-base:1.5
	pkgsrc-2006Q4:1.5.0.26
	pkgsrc-2006Q4-base:1.5
	pkgsrc-2006Q3:1.5.0.24
	pkgsrc-2006Q3-base:1.5
	pkgsrc-2006Q2:1.5.0.22
	pkgsrc-2006Q2-base:1.5
	pkgsrc-2006Q1:1.5.0.20
	pkgsrc-2006Q1-base:1.5
	pkgsrc-2005Q4:1.5.0.18
	pkgsrc-2005Q4-base:1.5
	pkgsrc-2005Q3:1.5.0.16
	pkgsrc-2005Q3-base:1.5
	pkgsrc-2005Q2:1.5.0.14
	pkgsrc-2005Q2-base:1.5
	pkgsrc-2005Q1:1.5.0.12
	pkgsrc-2005Q1-base:1.5
	pkgsrc-2004Q4:1.5.0.10
	pkgsrc-2004Q4-base:1.5
	pkgsrc-2004Q3:1.5.0.8
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.5.0.6
	pkgsrc-2004Q2-base:1.5
	pkgsrc-2004Q1:1.5.0.4
	pkgsrc-2004Q1-base:1.5
	pkgsrc-2003Q4:1.5.0.2
	pkgsrc-2003Q4-base:1.5
	netbsd-1-6-1:1.4.0.2
	netbsd-1-6-1-base:1.4
	netbsd-1-6:1.3.0.4
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2-base:1.3
	buildlink2:1.2.0.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2003.05.31.08.28.34;	author uebayasi;	state dead;
branches;
next	1.4;

1.4
date	2002.08.25.19.22.55;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.08.07.07.43.32;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2002.06.10.09.47.28;	author sakamoto;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2002.05.31.13.00.58;	author seb;	state Exp;
branches
	1.1.1.1;
next	;

1.2.2.1
date	2002.06.10.09.47.28;	author jlam;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2002.06.23.18.47.20;	author jlam;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2002.08.22.11.11.45;	author jlam;	state Exp;
branches;
next	;

1.1.1.1
date	2002.05.31.13.00.58;	author seb;	state Exp;
branches;
next	;


desc
@@


1.5
log
@* Move to use inputmethod/canna/Makefile.{common,include} for common
  definitions/inclusions.

* Deprecate canna-server and introduce inputmethod/canna as the new
  Canna meta package.
@
text
@#! /bin/sh
#
# $NetBSD: canna,v 1.4 2002/08/25 19:22:55 jlam Exp $
#
# PROVIDE: canna
# REQUIRE: DAEMON

if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi

name="canna"
rcvar=$name
command="@@PREFIX@@/sbin/cannaserver"
stop_cmd="@@PREFIX@@/bin/cannakill"

if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
	load_rc_config $name
	run_rc_command "$1"
else
	@@ECHO@@ -n ' ${name}'
	${command} ${canna_flags} ${command_args}
fi
@


1.4
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
@
text
@d3 1
a3 1
# $NetBSD: canna,v 1.2.2.2 2002/08/22 11:11:45 jlam Exp $
@


1.3
log
@Rewrite canna rc.d script so that it more closely resembles other pkgsrc
rc.d scripts.  This should now honor $canna settings in /etc/rc.conf.
This addresses pkg/17543 by itojun.
@
text
@d3 1
a3 1
# $NetBSD: canna,v 1.2 2002/06/10 09:47:28 sakamoto Exp $
@


1.2
log
@bump PKGREVISION.
add buildlink.mk.
use devel/nbitools instead of ${X11BASE}/xmkmf.
purge /var/dict/canna.
@
text
@d3 1
a3 1
# $NetBSD: canna,v 1.1 2001/03/16 18:16:38 wiz Exp $
d8 5
d14 3
a16 4
command_start="@@PREFIX@@/sbin/cannaserver"
pidfile=""

cmd=${1:-start}
d18 8
a25 12
case ${cmd} in
start)
    if [ -x ${command_start} ]; then
        echo "Starting ${name}."
        ${command_start} >/dev/null 2>&1
    fi
    ;;
*)
    :
    ;;
esac
exit 0
@


1.2.2.1
log
@file canna was added on branch buildlink2 on 2002-06-23 18:47:20 +0000
@
text
@d1 25
@


1.2.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 25
#! /bin/sh
#
# $NetBSD: canna,v 1.2.2.1 2002/06/23 18:47:20 jlam Exp $
#
# PROVIDE: canna
# REQUIRE: DAEMON

name="canna"
command_start="@@PREFIX@@/sbin/cannaserver"
pidfile=""

cmd=${1:-start}

case ${cmd} in
start)
    if [ -x ${command_start} ]; then
        echo "Starting ${name}."
        ${command_start} >/dev/null 2>&1
    fi
    ;;
*)
    :
    ;;
esac
exit 0
@


1.2.2.3
log
@Merge changes from pkgsrc-current into the buildlink2 branch for the
packages that have buildlink2.mk files.
@
text
@d3 1
a3 1
# $NetBSD: canna,v 1.2.2.2 2002/08/22 11:11:45 jlam Exp $
d8 3
a10 4
if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi
d12 1
a12 4
name="canna"
rcvar=$name
command="@@PREFIX@@/sbin/cannaserver"
stop_cmd="@@PREFIX@@/bin/cannakill"
d14 12
a25 8
if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
	load_rc_config $name
	run_rc_command "$1"
else
	@@ECHO@@ -n ' ${name}'
	${command} ${canna_flags} ${command_args}
fi
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# $NetBSD$
@


1.1.1.1
log
@Reimport of package Canna-lib from japanese/canna-lib into inputmethod/canna-lib.
This is part of the japanese category retirement.
CATEGORIES adjusted.
@
text
@@
