pkgsrc/inputmethod/multiskkserv/files/multiskkserv.sh
jperkin 8d04ae4456 Remove mk/find-prefix.mk usage from the inputmethod category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:50:57 +00:00

17 lines
318 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: multiskkserv.sh,v 1.2 2015/11/25 12:50:58 jperkin Exp $
#
# PROVIDE: multiskkserv
# REQUIRE: DAEMON
. /etc/rc.subr
name="multiskkserv"
rcvar=$name
command="@PREFIX@/sbin/${name}"
multiskkserv_flags="@PREFIX@/share/skk/SKK-JISYO.L.cdb &"
load_rc_config $name
run_rc_command "$1"